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
-
Add evaluation results for model intfloat/e5-mistral-7b-instruct revision 07163b72af1488142a360786df853f237b1a3ca1 (#49)
- Add evaluation results for model intfloat/e5-mistral-7b-instruct revision 07163b72af1488142a360786df853f237b1a3ca1 (417f854e474afcf55cfa39a3c4f2aee9936c78d1) Co-authored-by: Solomatin Roman <Samoed@users.noreply.huggingface.co>d62cc44
-
Simplify usage; integrate Sentence Transformers (+ LlamaIndex/LangChain, etc.) (#39)
Verified signature- Add "add_eos_token" to tokenizer config; simplify usage (a5e1612ae784f73eba634b00acf64db7d99ad7e9) - Integrate with Sentence Transformers + 3rd parties (90cddb89718db232ed6257f69b36e9e601120883) - Reduce sentence-transformers version to prevent "Upgrade your ST" warning (84b20972705a9d8c825bdf39a81acac66a10d701)07163b7
-
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