Sentence Similarity
sentence-transformers
ONNX
Safetensors
bert
embeddings
indic
romanized
transliteration
code-mixing
hinglish
tanglish
text-embeddings-inference
Instructions to use cidcodes/indic-e5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use cidcodes/indic-e5-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("cidcodes/indic-e5-small") 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] - Notebooks
- Google Colab
- Kaggle
Model card: MTEB(Indic) of the published revision (0.651)
Browse files
README.md
CHANGED
|
@@ -18,13 +18,13 @@ casually spelled and code-mixed text lands where the original model puts the nat
|
|
| 18 |
|
| 19 |
| model | params | MTEB(Indic) | Dakshina roman→native R@1 | native→roman R@1 | TanglishSTS |
|
| 20 |
|---|---|---|---|---|---|
|
| 21 |
-
| **indic-e5-small** | **47M** | 0.
|
| 22 |
| multilingual-e5-small | 118M | 0.648 | 0.396 | 0.498 | 0.729 |
|
| 23 |
| L3Cube indic-sentence-similarity-sbert | 238M | 0.592 | 0.772 | 0.819 | 0.692 |
|
| 24 |
| bge-m3 | 568M | 0.686 | 0.534 | 0.586 | 0.758 |
|
| 25 |
| LaBSE | 471M | 0.617 | 0.478 | 0.436 | 0.750 |
|
| 26 |
|
| 27 |
-
MTEB(Indic, v1): mean over its 20 tasks. Dakshina: 2,000 human-romanized sentences per language, 10 languages,
|
| 28 |
retrieval of the native sentence among 2,000. TanglishSTS: Spearman on 325 Tamil–English code-mixed pairs.
|
| 29 |
Neither Dakshina nor TanglishSTS was used for training or for choosing checkpoints. TanglishSTS is small: the
|
| 30 |
difference to multilingual-e5-small is -0.032, 95% paired-bootstrap CI [-0.081, +0.017], i.e. not significant.
|
|
|
|
| 18 |
|
| 19 |
| model | params | MTEB(Indic) | Dakshina roman→native R@1 | native→roman R@1 | TanglishSTS |
|
| 20 |
|---|---|---|---|---|---|
|
| 21 |
+
| **indic-e5-small** | **47M** | **0.651** | **0.827** | **0.905** | 0.699 |
|
| 22 |
| multilingual-e5-small | 118M | 0.648 | 0.396 | 0.498 | 0.729 |
|
| 23 |
| L3Cube indic-sentence-similarity-sbert | 238M | 0.592 | 0.772 | 0.819 | 0.692 |
|
| 24 |
| bge-m3 | 568M | 0.686 | 0.534 | 0.586 | 0.758 |
|
| 25 |
| LaBSE | 471M | 0.617 | 0.478 | 0.436 | 0.750 |
|
| 26 |
|
| 27 |
+
MTEB(Indic, v1): mean over its 20 tasks (retrieval 0.780 vs 0.768 for multilingual-e5-small). Dakshina: 2,000 human-romanized sentences per language, 10 languages,
|
| 28 |
retrieval of the native sentence among 2,000. TanglishSTS: Spearman on 325 Tamil–English code-mixed pairs.
|
| 29 |
Neither Dakshina nor TanglishSTS was used for training or for choosing checkpoints. TanglishSTS is small: the
|
| 30 |
difference to multilingual-e5-small is -0.032, 95% paired-bootstrap CI [-0.081, +0.017], i.e. not significant.
|