Sentence Similarity
sentence-transformers
MLX
xlm-roberta
mteb
Sentence Transformers
Eval Results (legacy)
text-embeddings-inference
Instructions to use mlx-community/multilingual-e5-base-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use mlx-community/multilingual-e5-base-mlx with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("mlx-community/multilingual-e5-base-mlx") 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] - MLX
How to use mlx-community/multilingual-e5-base-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir multilingual-e5-base-mlx mlx-community/multilingual-e5-base-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
File size: 133 Bytes
576fdf3 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f59925fcb90c92b894cb93e51bb9b4a6105c5c249fe54ce1c704420ac39b81af
size 17082756
|