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
Model card: UltraBERT-Embed-150M Indic scores (our evaluation)
Browse files
README.md
CHANGED
|
@@ -70,12 +70,12 @@ EmbeddingNandi is a family of open, long-context embedding models for English, I
|
|
| 70 |
|
| 71 |
## Benchmark Results
|
| 72 |
|
| 73 |
-
Mean task scores on MTEB(eng, v2) (41 tasks), MTEB(Code, v1) (12 tasks) and MTEB(Indic, v1) (20 tasks), for models up to about 270M parameters. EmbeddingNandi-150M was evaluated with the open-source [MTEB library](https://github.com/embeddings-benchmark/mteb) (version 2.26.19), at its maximum input length of 16,384 tokens and with float32 compute. Scores for the other models are MTEB results, except the MTEB(Indic, v1) scores of granite-embedding-125m-english
|
| 74 |
|
| 75 |
| Model | MTEB(eng, v2) | MTEB(Code, v1) | MTEB(Indic, v1) | Average (all three) |
|
| 76 |
|---|---|---|---|---|
|
| 77 |
| **EmbeddingNandi-150M (146M)** | 65.85 | **75.80** | **74.33** | **71.99** |
|
| 78 |
-
| UltraBERT-Embed-150M (151M) | **67.24** | 73.30 |
|
| 79 |
| granite-embedding-english-r2 (149M) | 62.84 | 57.22 | 32.85 | 50.97 |
|
| 80 |
| granite-embedding-125m-english (125M) | 62.10 | 53.30 | 34.46 | 49.95 |
|
| 81 |
| bekko-embedding-v1-a25m (123M) | 62.25 | 60.27 | 65.43 | 62.65 |
|
|
@@ -88,6 +88,7 @@ Mean task scores on MTEB(eng, v2) (41 tasks), MTEB(Code, v1) (12 tasks) and MTEB
|
|
| 88 |
| Model | Mean (20) | Bitext Mining (2) | Classification (12) | Clustering (1) | Pair Classification (1) | Reranking (1) | Retrieval (2) | STS (1) |
|
| 89 |
|---|---|---|---|---|---|---|---|---|
|
| 90 |
| **EmbeddingNandi-150M (146M)** | **74.33** | **84.36** | **72.19** | **54.32** | **82.57** | **86.07** | **87.40** | 53.95 |
|
|
|
|
| 91 |
| granite-embedding-english-r2 (149M) | 32.85 | 3.27 | 42.77 | 2.53 | 51.89 | 49.27 | 17.21 | -0.86 |
|
| 92 |
| granite-embedding-125m-english (125M) | 34.46 | 5.54 | 44.68 | 3.04 | 51.75 | 49.23 | 17.94 | 2.07 |
|
| 93 |
| bekko-embedding-v1-a25m (123M) | 65.43 | 75.25 | 64.45 | 27.83 | 69.64 | 83.66 | 76.96 | 49.63 |
|
|
|
|
| 70 |
|
| 71 |
## Benchmark Results
|
| 72 |
|
| 73 |
+
Mean task scores on MTEB(eng, v2) (41 tasks), MTEB(Code, v1) (12 tasks) and MTEB(Indic, v1) (20 tasks), for models up to about 270M parameters. EmbeddingNandi-150M was evaluated with the open-source [MTEB library](https://github.com/embeddings-benchmark/mteb) (version 2.26.19), at its maximum input length of 16,384 tokens and with float32 compute. Scores for the other models are MTEB results, except the MTEB(Indic, v1) scores of granite-embedding-125m-english, granite-embedding-english-r2 and UltraBERT-Embed-150M, which we evaluated ourselves with the same MTEB version (float32, at 512, 8,192 and 32,768 tokens respectively); "-" means the model has no score for that benchmark. Average is the mean of the three benchmark scores, for models that have all three. Best score in each column is in bold.
|
| 74 |
|
| 75 |
| Model | MTEB(eng, v2) | MTEB(Code, v1) | MTEB(Indic, v1) | Average (all three) |
|
| 76 |
|---|---|---|---|---|
|
| 77 |
| **EmbeddingNandi-150M (146M)** | 65.85 | **75.80** | **74.33** | **71.99** |
|
| 78 |
+
| UltraBERT-Embed-150M (151M) | **67.24** | 73.30 | 42.16 | 60.90 |
|
| 79 |
| granite-embedding-english-r2 (149M) | 62.84 | 57.22 | 32.85 | 50.97 |
|
| 80 |
| granite-embedding-125m-english (125M) | 62.10 | 53.30 | 34.46 | 49.95 |
|
| 81 |
| bekko-embedding-v1-a25m (123M) | 62.25 | 60.27 | 65.43 | 62.65 |
|
|
|
|
| 88 |
| Model | Mean (20) | Bitext Mining (2) | Classification (12) | Clustering (1) | Pair Classification (1) | Reranking (1) | Retrieval (2) | STS (1) |
|
| 89 |
|---|---|---|---|---|---|---|---|---|
|
| 90 |
| **EmbeddingNandi-150M (146M)** | **74.33** | **84.36** | **72.19** | **54.32** | **82.57** | **86.07** | **87.40** | 53.95 |
|
| 91 |
+
| UltraBERT-Embed-150M (151M) | 42.16 | 16.91 | 49.62 | 3.41 | 56.44 | 65.18 | 43.81 | 1.32 |
|
| 92 |
| granite-embedding-english-r2 (149M) | 32.85 | 3.27 | 42.77 | 2.53 | 51.89 | 49.27 | 17.21 | -0.86 |
|
| 93 |
| granite-embedding-125m-english (125M) | 34.46 | 5.54 | 44.68 | 3.04 | 51.75 | 49.23 | 17.94 | 2.07 |
|
| 94 |
| bekko-embedding-v1-a25m (123M) | 65.43 | 75.25 | 64.45 | 27.83 | 69.64 | 83.66 | 76.96 | 49.63 |
|