Downloads · 30 days
87
26% of all-time downloads
olegGerbylev/multilingual-e5-large-finetuned-orders
multilingual-e5-large-finetuned-orders is a sentence similarity model from olegGerbylev. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as mit.
Fine-tuned version of intfloat/multilingual-e5-large for order-offer matching task.
Downloads · 30 days
87
26% of all-time downloads
All-time downloads
331
Public
Parameters
560M
2.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 99%
From the Hugging Face model README
Fine-tuned version of intfloat/multilingual-e5-large for order-offer matching task.
This model was fine-tuned on a Russian dataset of order-offer pairs for semantic similarity matching. It significantly outperforms the base model on this specific task.
| Metric | Base E5 | Fine-tuned | Improvement |
|---|---|---|---|
| Accuracy@1 | 49.40% | 72.93% | +23.53% |
| Accuracy@5 | 69.52% | 91.20% | +21.67% |
| Accuracy@10 | 76.83% | 95.11% | +18.28% |
| MRR | 0.586 | 0.811 | +0.225 |
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('olegGerbylev/multilingual-e5-large-finetuned-orders')
# Important: Use E5-style prefixes
orders = ["query: Кабель ВВГнг 3x2.5 | 100 м"]
offers = ["passage: Кабель ВВГнг(А)-LS 3х2,5 | 100.0 м"]
order_embeddings = model.encode(orders)
offer_embeddings = model.encode(offers)
# Compute similarity
from sklearn.metrics.pairwise import cosine_similarity
similarity = cosine_similarity(order_embeddings, offer_embeddings)
print(f"Similarity: {similarity[0][0]:.4f}")
This model expects E5-style prefixes:
"query: <text>""passage: <text>"MIT