Feature Extraction
sentence-transformers
Safetensors
Transformers
English
mistral
mteb
Eval Results (legacy)
text-embeddings-inference
Instructions to use Linq-AI-Research/Linq-Embed-Mistral with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Linq-AI-Research/Linq-Embed-Mistral with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Linq-AI-Research/Linq-Embed-Mistral") 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 Linq-AI-Research/Linq-Embed-Mistral with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Linq-AI-Research/Linq-Embed-Mistral")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Linq-AI-Research/Linq-Embed-Mistral") model = AutoModel.from_pretrained("Linq-AI-Research/Linq-Embed-Mistral", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1788,7 +1788,7 @@ This project is for research purposes only. Third-party datasets may be subject
|
|
| 1788 |
- [Mistral](https://arxiv.org/abs/2310.06825)
|
| 1789 |
- [E5-mistral-7b-instruct](https://arxiv.org/pdf/2401.00368.pdf)
|
| 1790 |
|
| 1791 |
-
For more details, refer to [this blog post](https://getlinq.com/blog/linq-embed-mistral/) and [this report](https://huggingface.co/Linq-AI-Research/Linq-Embed-Mistral/blob/main/
|
| 1792 |
|
| 1793 |
## How to use
|
| 1794 |
|
|
|
|
| 1788 |
- [Mistral](https://arxiv.org/abs/2310.06825)
|
| 1789 |
- [E5-mistral-7b-instruct](https://arxiv.org/pdf/2401.00368.pdf)
|
| 1790 |
|
| 1791 |
+
For more details, refer to [this blog post](https://getlinq.com/blog/linq-embed-mistral/) and [this report](https://huggingface.co/Linq-AI-Research/Linq-Embed-Mistral/blob/main/LinqAIResearch2024_Linq-Embed-Mistral.pdf).
|
| 1792 |
|
| 1793 |
## How to use
|
| 1794 |
|