Feature Extraction
sentence-transformers
PyTorch
Safetensors
Transformers
English
mistral
mteb
Eval Results (legacy)
Eval Results
text-embeddings-inference
Instructions to use intfloat/e5-mistral-7b-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use intfloat/e5-mistral-7b-instruct with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("intfloat/e5-mistral-7b-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/e5-mistral-7b-instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="intfloat/e5-mistral-7b-instruct")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("intfloat/e5-mistral-7b-instruct") model = AutoModel.from_pretrained("intfloat/e5-mistral-7b-instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Reduce sentence-transformers version to prevent "Upgrade your ST" warning
Tom Aarsen84b2097 -
Integrate with Sentence Transformers + 3rd parties
Tom Aarsen90cddb8 -
Add "add_eos_token" to tokenizer config; simplify usage
Tom Aarsena5e1612
-
Update README.md
4111085 -
Upload lora adapter weights
729cfc2
-
Update README.md
094fd72
-
Update README.md
d6b60af -
Adding `safetensors` variant of this model (#5)
- Adding `safetensors` variant of this model (9fdcc2f884a30a2250e666bf6e969640293282bc) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>97a9e40
-
Add link to technical report
2647028
-
Update README.md
7e2aa4f
-
Update README.md
109caac -
Update README.md
c921bc5 -
upload model weights
769d3fc
-
initial commit
54575d0