What changed

Hugging Face announced the release of two new embedding models, EmbeddingNandi-150M and EmbeddingNandi-450M, under the Apache 2.0 license. These models are designed for semantic search, retrieval-augmented generation, clustering, deduplication, and similarity tasks in English, 13 Indic languages, and romanized Indic text such as Hinglish, Arabic, Indonesian, and Malay. The models are trained with Matryoshka Representation Learning, allowing vectors to be truncated to 128 dimensions for efficiency.

What this means in practice

The EmbeddingNandi-150M model reads 16,384 tokens and outputs 768-dimensional vectors, while the EmbeddingNandi-450M model reads 32,768 tokens and outputs 1,024-dimensional vectors. Both models are fine-tuned from the NandiBERT bidirectional encoders and inherit its 100K-token multilingual vocabulary, grouped-query attention, and long context capabilities. The models support truncation to 512, 256, or 128 dimensions, reducing storage and improving search speed at the cost of some quality.

Limitations and availability

The models are available for download and use under the Apache 2.0 license. They are trained with Matryoshka Representation Learning, which allows for dimension truncation without retraining. The models are reported to perform well on MTEB benchmarks, with EmbeddingNandi-450M leading in Code and Indic tasks. However, the supplied announcement does not specify exact performance metrics or independent testing results. The models are available for use with Sentence Transformers and support task-specific prompts for different use cases such as search, classification, and clustering.

Source facts for Hugging Face Releases EmbeddingNandi Models for Multilingual Semantic Search: Two sizes: 150M with a 16K window and 450M with a 32K window, with vectors you can cut down to 128 dimensions. An encoder becomes a search engine once it learns to turn a whole passage into one vector. EmbeddingNandi-150M reads 16,384 tokens and puts out 768-dimensional vectors.
Original AINewsTrend explainer based on the cited source. This graphic summarizes source statements; it is not an independent benchmark.

Sources and further reading

  1. huggingface: Introducing EmbeddingNandi