Feature Extraction
sentence-transformers
PyTorch
Safetensors
Transformers
English
mistral
mteb
Eval Results (legacy)
text-embeddings-inference
Instructions to use Alignment-Lab-AI/e5-mistral-7b-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Alignment-Lab-AI/e5-mistral-7b-instruct with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Alignment-Lab-AI/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 Alignment-Lab-AI/e5-mistral-7b-instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Alignment-Lab-AI/e5-mistral-7b-instruct")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Alignment-Lab-AI/e5-mistral-7b-instruct") model = AutoModel.from_pretrained("Alignment-Lab-AI/e5-mistral-7b-instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model-00001-of-00002.bin from Alignment-Lab-AI/e5-mistral-7b-instruct: direct link, hf CLI and curl.
- Browser
- Download file 9.94 GB
-
https://huggingface.co/Alignment-Lab-AI/e5-mistral-7b-instruct/resolve/main/pytorch_model-00001-of-00002.bin
- Command line
-
hf download hf://Alignment-Lab-AI/e5-mistral-7b-instruct/pytorch_model-00001-of-00002.bin
-
curl -L -o pytorch_model-00001-of-00002.bin https://huggingface.co/Alignment-Lab-AI/e5-mistral-7b-instruct/resolve/main/pytorch_model-00001-of-00002.bin
9.94 GB
- Xet hash:
- 2213a100d753306df6129e0d687cc0092474780fb0c24e24c7f228540df27501
- Size of remote file:
- 9.94 GB
- SHA256:
- db75942d7777c9bbae5eb1bc7f712d099875e6d6bbccb8522b91b2782977ce52
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.