Sentence Similarity
sentence-transformers
Safetensors
nandi_encoder
embeddings
feature-extraction
mteb
retrieval
multilingual
indic
long-context
frontiersmind
nandi
custom_code
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
Download tokenizer_config.json from FrontiersMind/EmbeddingNandi-450M: direct link, hf CLI and curl.
- Browser
- Download file 559 Bytes
-
https://huggingface.co/FrontiersMind/EmbeddingNandi-450M/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://FrontiersMind/EmbeddingNandi-450M/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/FrontiersMind/EmbeddingNandi-450M/resolve/main/tokenizer_config.json
559 Bytes
| { | |
| "add_prefix_space": null, | |
| "auto_map": { | |
| "AutoTokenizer": [ | |
| "tokenization_nandi_encoder.NandiEncoderTokenizer", | |
| null | |
| ] | |
| }, | |
| "backend": "tokenizers", | |
| "bos_token": "<|endoftext|>", | |
| "bos_token_id": 0, | |
| "eos_token": "<|endoftext|>", | |
| "eos_token_id": 0, | |
| "is_local": true, | |
| "local_files_only": false, | |
| "mask_token": "<|mask|>", | |
| "mask_token_id": 4, | |
| "merges_file": null, | |
| "model_max_length": 32768, | |
| "pad_token": "<|pad|>", | |
| "pad_token_id": 3, | |
| "tokenizer_class": "NandiEncoderTokenizer", | |
| "unk_token": "<|endoftext|>" | |
| } | |