Feature Extraction
sentence-transformers
ONNX
Safetensors
Transformers
xlm-roberta
mteb
Eval Results (legacy)
text-embeddings-inference
Instructions to use intfloat/multilingual-e5-large-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use intfloat/multilingual-e5-large-instruct with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("intfloat/multilingual-e5-large-instruct") 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] - Transformers
How to use intfloat/multilingual-e5-large-instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="intfloat/multilingual-e5-large-instruct")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("intfloat/multilingual-e5-large-instruct") model = AutoModel.from_pretrained("intfloat/multilingual-e5-large-instruct", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add exported onnx model 'model_O3.onnx'
Verified signatureHello! *This pull request has been automatically generated from the [`export_optimized_onnx_model`](https://sbert.net/docs/package_reference/util.html#sentence_transformers.backend.export_optimized_onnx_model) function from the Sentence Transformers library.* ## Config ```python OptimizationConfig( optimization_level=2, optimize_for_gpu=False, fp16=False, optimize_with_onnxruntime_only=None, enable_transformers_specific_optimizations=True, disable_gelu=None, disable_gelu_fusion=False, disable_layer_norm=None, disable_layer_norm_fusion=False, disable_attention=None, disable_attention_fusion=False, disable_skip_layer_norm=None, disable_skip_layer_norm_fusion=False, disable_bias_skip_layer_norm=None, disable_bias_skip_layer_norm_fusion=False, disable_bias_gelu=None, disable_bias_gelu_fusion=False, disable_embed_layer_norm=True, disable_embed_layer_norm_fusion=True, enable_gelu_approximation=True, use_mask_index=False, no_attention_mask=False, disable_shape_inferen…9d7f719
-
Ensuring compatibility with the sentence-transformers library (#24)
Verified signature- Ensuring compatibility with the sentence-transformers library (d0d13e3c07d9685f54ae6fdc3842b1c7c47b0a2c) Co-authored-by: charlie <charlieCs@users.noreply.huggingface.co>84344a2 -
Update instruction with infinity (#23)
Verified signature- Update instruction with infinity (12f5e10ae4575a6c3ef154c80e248ee3f24203c7) Co-authored-by: Michael <michaelfeil@users.noreply.huggingface.co>1a50ec2
-
Adding ONNX file of this model (#17)
Verified signature- Adding ONNX file of this model (4a3dc3a50e8d1c6fbda861c0d3d34b5473488795) Co-authored-by: Yash <yashvardhan7@users.noreply.huggingface.co>c9e87c7
-
Update README.md
baa7be4 -
Add Sentence Transformers support (#2)
- Add Sentence Transformers support (2df654a1816d9d71137d5ef0979718fc8842ada2)c406bc6
-
Add link to new paper (#1)
- Add link to new paper (040d0121a88973cae67c013d62b14ef9a65ee4ec) Co-authored-by: Omar Sanseviero <osanseviero@users.noreply.huggingface.co>2696861
-
update README.md
b9fbfc1 -
upload model weights
d9f1d8f -
initial commit
Verified signature5900853