Deep-lang-Embed Tamil-Tanglish
A fine-tuned multilingual sentence embedding model focused on semantic retrieval across Tamil, English, and Tanglish.
Intended use
- Semantic search across Tamil and English documents
- Cross-language query matching
- Tanglish query retrieval
- Retrieval-Augmented Generation (RAG) pipelines
Base model
sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
Training
Fine-tuned using query-answer pairs from nlpctx/tamil-english-retrieval.
Training method: Multiple Negatives Ranking Loss.
Evaluation
TanglishSTS evaluation set: 325 sentence pairs.
Base Spearman correlation: 0.7279
Fine-tuned Spearman correlation: 0.7263
Held-out retrieval results: {'Recall@1': 0.23963133640552994, 'Recall@5': 0.4470046082949309, 'Recall@10': 0.5253456221198156, 'MRR': 0.3446636442799704}
These metrics describe this experiment only. They are not a guarantee of performance on other datasets or applications.
Limitations
Tanglish spelling and code-switching vary widely. The model may perform poorly on rare vocabulary, dialects, ambiguous phrases, and domains absent from the training data. Evaluate it on your own target use case before deployment.
Data and attribution
Training dataset: nlpctx/tamil-english-retrieval https://huggingface.co/datasets/nlpctx/tamil-english-retrieval
Evaluation benchmark: vishnu-n/TanglishSTS https://huggingface.co/datasets/vishnu-n/TanglishSTS
The evaluation benchmark was used for evaluation, not training. Review the original dataset cards and licenses before redistribution.
Usage
See the model repository examples for loading the model with sentence-transformers.