Sentence Similarity
sentence-transformers
Safetensors
nandi_encoder
embeddings
feature-extraction
mteb
retrieval
multilingual
indic
long-context
frontiersmind
nandi
custom_code
Run this model with HF Jobs
Run FrontiersMind/EmbeddingNandi-450M on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/FrontiersMind/EmbeddingNandi-450M. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/FrontiersMind/EmbeddingNandi-450M on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use FrontiersMind/EmbeddingNandi-450M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use FrontiersMind/EmbeddingNandi-450M with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("FrontiersMind/EmbeddingNandi-450M", 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
Commit History
4 days ago
-
Sync config defaults and docstring with the actual checkpoint
Verified signatureSame stale-defaults issue as NandiBERT-450M: `configuration_nandi_encoder.py`'s hardcoded `__init__` defaults and class docstring described a different, smaller architecture (`hidden_size=832`/`num_hidden_layers=16`/etc.) than this checkpoint's real `config.json` (`hidden_size: 1024`, `num_hidden_layers: 28`). Harmless for `from_pretrained`, which always uses the saved config.json, but misleading as documentation and for anyone instantiating `NandiEncoderConfig()` directly. Verified the fix by instantiating the corrected class with no arguments and diffing every field against the real config.json; everything matches.bfdd135 -
Sync tokenization_nandi_encoder.py with EmbeddingNandi-150M
Verified signatureThis file had fallen out of sync with EmbeddingNandi-150M (and both NandiBERT checkpoints, which all share the identical file): it was missing the `_space_split_words` function and the `is_split_into_words=True` branch in `_encode_plus`, so word-list tokenization (NER-style input) didn't get the leading-space treatment the other three checkpoints apply. Replacing it with the same file used everywhere else in the family.be3126a
5 days ago
-
Update config.json
Verified signaturee10b3f7
7 days ago
-
Link the EmbeddingNandi launch blog in the header
Verified signature93a4a23 -
Clarify re-normalization after truncation for dot product vs cosine
Verified signature4fc2dbc -
Update README.md
Verified signature708bc4c -
Model card: precision snippet uses native bfloat16 or float16 on GPU, float32 on CPU; add Arabic to the intro
Verified signature92034ab -
Show the sentence similarity prompt in the Use this model snippet
Verified signature1ed7490
8 days ago
-
Model card: detail tables updated for 3-seed re-evaluation (Nandi eng mean 67.61, Clustering; code mean 78.42, AppsRetrieval)
Verified signaturedbb8c8b -
Model card: code table with models as rows; Nandi main-table numbers from 3-seed re-evaluation (eng 67.61, code 78.42)
Verified signature4bb3531 -
Model card: remove duplicate harrier-oss-v1-0.6b row in Indic table
Verified signatureba305ae -
Model card: harrier-oss-v1-0.6b only in the Indic table
Verified signatureb10c628 -
Model card: restore latest numbers; harrier-oss-v1-0.6b Indic only, harrier and multilingual-e5 last, LFM2.5 below EmbeddingGemma 2
Verified signaturefa1e273 -
Model card: harrier-oss Indic only, move harrier and multilingual-e5 to end of tables
Verified signatured21cb5f -
Model card: Indic detail table first
Verified signaturef9a3055 -
Model card: Matryoshka scores at each available size, re-normalization note
Verified signature45b6a87 -
Model card: note that all models were re-evaluated with the MTEB library, with a link
Verified signatureee678e6 -
Model card: benchmark results, all models evaluated by us with the same code (mteb 2.26.19)
Verified signature3541d59 -
Remove internal references and the unused masked-LM head; fix the languages and the Matryoshka load-time example
Verified signature518dfa4 -
Model card: sentence-transformers metadata, Model Description table
Verified signature0c5a704 -
Model card: precision section with the dtype code, short text
Verified signatureb1ebfd1 -
Model card: shorter precision section
Verified signature5bca1a8 -
Model card: precision section like EmbeddingGemma 2 (bfloat16 where supported, else float32)
Verified signaturee305c8b -
Model card: bfloat16 is the default precision, outputs refreshed
Verified signatured45dd4d -
Store weights in bfloat16 and load in bfloat16 by default (same as the MTEB eval and EmbeddingGemma 2); float32 weights stay in commit 8040161
Verified signature3e1ac5a -
Model card: one quick start with English, Hindi and Hinglish, tested code examples with outputs, precision section, Transformers code folded
Verified signature871b748 -
Model card: compare with all models up to 600M, add average over the three benchmarks
Verified signature9af3f83 -
Release weights: equal average of two stage-2 runs; model card with MTEB results
Verified signature8040161 -
Model card usage and Sentence Transformers loading files (EmbeddingGemma 2 style)
Verified signature2408817
14 days ago
-
Model card: normal citation (remove placeholder note)
Verified signature822c65f
15 days ago
-
Update banner
Verified signature064d60f -
Update banner and card wording
Verified signatureda4b0bd -
Add model card and banner
Verified signature92507ad -
initial commit
Verified signature2d60e92