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-150M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use FrontiersMind/EmbeddingNandi-150M with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("FrontiersMind/EmbeddingNandi-150M", 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
Update banner and card wording
Browse files- README.md +4 -4
- embeddingnandi-banner.png +2 -2
README.md
CHANGED
|
@@ -49,16 +49,16 @@ tags:
|
|
| 49 |
<b>Authors:</b> <a href="https://frontiersmind.ai">FrontiersMind</a>
|
| 50 |
</p>
|
| 51 |
|
| 52 |
-
EmbeddingNandi is a family of open, long-context embedding models for
|
| 53 |
|
| 54 |
| Model | Parameters | Hidden | Context | Base encoder | Description |
|
| 55 |
|---|---|---|---|---|---|
|
| 56 |
| **EmbeddingNandi-150M** *(this model)* | 150M | 768 | 16K | [NandiBERT-150M](https://huggingface.co/FrontiersMind/NandiBERT-150M) | Compact long-context embedding model |
|
| 57 |
-
| [EmbeddingNandi-450M](https://huggingface.co/FrontiersMind/EmbeddingNandi-450M) | 450M | 1,024 | 32K | [NandiBERT-450M](https://huggingface.co/FrontiersMind/NandiBERT-450M) | Long-context
|
| 58 |
|
| 59 |
## Description
|
| 60 |
|
| 61 |
-
- **
|
| 62 |
- **16K context:** A 16,384-token window, so long documents can be embedded in a single pass without chunking, with the 100K-token multilingual vocabulary shared across the NandiBERT family.
|
| 63 |
- **Deep and efficient:** Inherited from NandiBERT-150M: 28 layers at 768 hidden size, with grouped-query attention (6 query heads, 2 key-value heads), QK-norm and SwiGLU, sized for fast inference and low-cost serving. The 100K-token vocabulary is stored as a rank-192 factorized embedding.
|
| 64 |
- **Embedding output:** TODO: embedding dimension, pooling method, normalization and similarity function (cosine / dot product).
|
|
@@ -116,7 +116,7 @@ print(scores)
|
|
| 116 |
|
| 117 |
```bibtex
|
| 118 |
@misc{frontiersmind2026embeddingnandi,
|
| 119 |
-
title = {EmbeddingNandi: Open Long-Context Embedding Models for
|
| 120 |
author = {{FrontiersMind}},
|
| 121 |
year = {2026},
|
| 122 |
howpublished = {\url{https://huggingface.co/FrontiersMind/EmbeddingNandi-150M}},
|
|
|
|
| 49 |
<b>Authors:</b> <a href="https://frontiersmind.ai">FrontiersMind</a>
|
| 50 |
</p>
|
| 51 |
|
| 52 |
+
EmbeddingNandi is a family of open, long-context embedding models for English, Indic and South-East Asian languages, built on the [NandiBERT](https://huggingface.co/FrontiersMind/NandiBERT-150M) bidirectional encoders. They turn text in English, Indic languages and other widely used languages into dense vectors for semantic search, retrieval-augmented generation, clustering and similarity.
|
| 53 |
|
| 54 |
| Model | Parameters | Hidden | Context | Base encoder | Description |
|
| 55 |
|---|---|---|---|---|---|
|
| 56 |
| **EmbeddingNandi-150M** *(this model)* | 150M | 768 | 16K | [NandiBERT-150M](https://huggingface.co/FrontiersMind/NandiBERT-150M) | Compact long-context embedding model |
|
| 57 |
+
| [EmbeddingNandi-450M](https://huggingface.co/FrontiersMind/EmbeddingNandi-450M) | 450M | 1,024 | 32K | [NandiBERT-450M](https://huggingface.co/FrontiersMind/NandiBERT-450M) | Long-context embedding model |
|
| 58 |
|
| 59 |
## Description
|
| 60 |
|
| 61 |
+
- **One Model. From English to Indic and Beyond:** Built on NandiBERT-150M, which covers English, 11 Indic languages in native script and romanized form, with Southeast Asian languages and Middle-East Languages, so a single embedding model serves queries and documents across these languages.
|
| 62 |
- **16K context:** A 16,384-token window, so long documents can be embedded in a single pass without chunking, with the 100K-token multilingual vocabulary shared across the NandiBERT family.
|
| 63 |
- **Deep and efficient:** Inherited from NandiBERT-150M: 28 layers at 768 hidden size, with grouped-query attention (6 query heads, 2 key-value heads), QK-norm and SwiGLU, sized for fast inference and low-cost serving. The 100K-token vocabulary is stored as a rank-192 factorized embedding.
|
| 64 |
- **Embedding output:** TODO: embedding dimension, pooling method, normalization and similarity function (cosine / dot product).
|
|
|
|
| 116 |
|
| 117 |
```bibtex
|
| 118 |
@misc{frontiersmind2026embeddingnandi,
|
| 119 |
+
title = {EmbeddingNandi: Open Long-Context Embedding Models for English, Indic and South-East Asian Languages},
|
| 120 |
author = {{FrontiersMind}},
|
| 121 |
year = {2026},
|
| 122 |
howpublished = {\url{https://huggingface.co/FrontiersMind/EmbeddingNandi-150M}},
|
embeddingnandi-banner.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|