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: link training code and MTEB submission
Browse files
README.md
CHANGED
|
@@ -59,6 +59,11 @@ const out = await embed(["query: mujhe kal office jana hai", "passage: मुझ
|
|
| 59 |
|
| 60 |
## How it was made
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
1. **Vocabulary trimming.** Token frequencies from Wikipedia and Sangraha in 13 languages plus romanized text,
|
| 63 |
balanced per language; the 64K most useful pieces (and every single character of the target scripts) are kept
|
| 64 |
and the embedding rows gathered. MTEB(Indic) 0.6471 vs 0.6484 for the full model.
|
|
|
|
| 59 |
|
| 60 |
## How it was made
|
| 61 |
|
| 62 |
+
Code: [github.com/codewithcid/indic-embed](https://github.com/codewithcid/indic-embed). MTEB leaderboard submission:
|
| 63 |
+
[embeddings-benchmark/mteb#6014](https://github.com/embeddings-benchmark/mteb/pull/6014),
|
| 64 |
+
[embeddings-benchmark/results#877](https://github.com/embeddings-benchmark/results/pull/877).
|
| 65 |
+
|
| 66 |
+
|
| 67 |
1. **Vocabulary trimming.** Token frequencies from Wikipedia and Sangraha in 13 languages plus romanized text,
|
| 68 |
balanced per language; the 64K most useful pieces (and every single character of the target scripts) are kept
|
| 69 |
and the embedding rows gathered. MTEB(Indic) 0.6471 vs 0.6484 for the full model.
|