Sentence Similarity
sentence-transformers
Safetensors
nandi_encoder
embeddings
feature-extraction
mteb
retrieval
multilingual
indic
long-context
frontiersmind
nandi
custom_code
Instructions to use FrontiersMind/EmbeddingNandi-450M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use FrontiersMind/EmbeddingNandi-450M with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("FrontiersMind/EmbeddingNandi-450M", trust_remote_code=True) sentences = [ "task: sentence similarity | query: How do I return a damaged product?", "task: sentence similarity | query: खराब सामान वापस कैसे करें?", "task: sentence similarity | query: damaged product wapas kaise kare?", "task: sentence similarity | query: What is the weather like today?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download 1_Pooling/config.json from FrontiersMind/EmbeddingNandi-450M: direct link, hf CLI and curl.
- Browser
- Download file 91 Bytes
-
https://huggingface.co/FrontiersMind/EmbeddingNandi-450M/resolve/main/1_Pooling/config.json
- Command line
-
hf download hf://FrontiersMind/EmbeddingNandi-450M/1_Pooling/config.json
-
curl -L -o config.json https://huggingface.co/FrontiersMind/EmbeddingNandi-450M/resolve/main/1_Pooling/config.json
91 Bytes
| { | |
| "embedding_dimension": 1024, | |
| "pooling_mode": "mean", | |
| "include_prompt": true | |
| } |