Sentence Similarity
sentence-transformers
PyTorch
ONNX
Safetensors
OpenVINO
bert
mteb
Sentence Transformers
Eval Results (legacy)
Eval Results
text-embeddings-inference
Instructions to use intfloat/multilingual-e5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use intfloat/multilingual-e5-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("intfloat/multilingual-e5-small") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add exported openvino model 'openvino_model.xml'
Verified signatureHello! *This pull request has been automatically generated from the [Sentence Transformers backend-export](https://huggingface.co/spaces/sentence-transformers/backend-export) Space.* ## Pull Request overview * Add exported OpenVINO model `openvino_model.xml`. ## Tip: Consider testing this pull request before merging by loading the model from this PR with the `revision` argument: ```python from sentence_transformers import SentenceTransformer # TODO: Fill in the PR number pr_number = 2 model = SentenceTransformer( "intfloat/multilingual-e5-small", revision=f"refs/pr/{pr_number}", backend="openvino", ) # Verify that everything works as expected embeddings = model.encode(["The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium."]) print(embeddings.shape) similarities = model.similarity(embeddings, embeddings) print(similarities) ```9f4267d
-
add_russian_mteb_scores (#9)
Verified signature- add russian mteb scores (62ff60abe92eb88c1b297fabaad28f7ac77b5875)fd1525a
-
Update README.md
0a68dcd
-
Add link to new paper (#7)
Verified signature- Add link to new paper (f470c6a1a906014160ece1968c484b275f0396de) Co-authored-by: Omar Sanseviero <osanseviero@users.noreply.huggingface.co>97e13e8
-
Adding ONNX file of this model (#4)
- Adding ONNX file of this model (919cfbe11fbf4f1b9bb321007c46c14feaf84227)ffdcc22
-
Update README.md
ada7b62
-
add sentence similarity tag
475bc35
-
Update README.md
d829207
-
change `model_max_length` value to fit positional embeddings number (#2)
- change `model_max_length` value to fit positional embeddings number (053834db62d809d8f124a76b687fbd948e13ef3e) Co-authored-by: Artem Snegirev <artemsnegirev@users.noreply.huggingface.co>960310a
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (538f7d96f9ba31b7c70f14578492fb49d3040a4e) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>7cf867c
-
upload model weights
d2648e2 -
initial commit
a94d6a0