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
Sync tokenization_nandi_encoder.py with EmbeddingNandi-150M
#1
by sn3199 - opened
This 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.
vishesh-t27 changed pull request status to merged
Thanks @sn3199
Happy to help, thanks for merging!