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
-
Fix: Add missing sentence-transformers installation in example code
Verified signature## Description The example code fails with `ModuleNotFoundError: No module named 'sentence-transformers'` when run in a clean environment. This is due to the `sentence-transformers` package not being pre-installed. While this specific issue involves a missing ` 'sentence-transformers'` installation, we have observed that dependency-related failures can often be more complex — involving implicit, indirect, or version-sensitive packages. These issues are not always obvious but can significantly hinder reproducibility and user onboarding. As such, we believe it may be worth encouraging more consistent dependency transparency across example code. ## Changes Added the following line at the beginning of the script to ensure all required dependencies are available: ```python # Requires: sentence-transformers ``` ## Testing The code has been successfully tested and runs without error. ## Note This contribution is part of an ongoing research initiative to systematically identify and co…c616d59
-
Update README.md
Verified signature274baa4
-
Update instruction with infinity (#23)
Verified signature- Update instruction with infinity (12f5e10ae4575a6c3ef154c80e248ee3f24203c7) Co-authored-by: Michael <michaelfeil@users.noreply.huggingface.co>1a50ec2
-
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