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 onnx model 'model_qint8_avx512_vnni.onnx'
Verified signatureHello! *This pull request has been automatically generated from the [`export_dynamic_quantized_onnx_model`](https://sbert.net/docs/package_reference/util.html#sentence_transformers.backend.export_dynamic_quantized_onnx_model) function from the Sentence Transformers library.* ## Config ```python QuantizationConfig( is_static=False, format=<QuantFormat.QOperator: 0>, mode=<QuantizationMode.IntegerOps: 0>, activations_dtype=<QuantType.QUInt8: 1>, activations_symmetric=False, weights_dtype=<QuantType.QInt8: 0>, weights_symmetric=True, per_channel=True, reduce_range=False, nodes_to_quantize=[], nodes_to_exclude=[], operators_to_quantize=['Conv', 'MatMul', 'Attention', 'LSTM', 'Gather', 'Transpose', 'EmbedLayerNormalization'], qdq_add_pair_to_weight=False, qdq_dedicated_pair=False, qdq_op_type_per_channel_support_to_axis={'MatMul': 1} ) ``` ## Tip: Consider testing this pull request before merging by loading the model from this PR with the `revision` argument: ```pyth…095f0e8
-
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