Sentence Similarity
sentence-transformers
ONNX
Safetensors
bert
embeddings
indic
romanized
transliteration
code-mixing
hinglish
tanglish
text-embeddings-inference
Instructions to use cidcodes/indic-e5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use cidcodes/indic-e5-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("cidcodes/indic-e5-small") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from cidcodes/indic-e5-small: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/cidcodes/indic-e5-small/resolve/08d044b8792a0d345fc3d7911036edbe251e5425/tokenizer_config.json
- Command line
-
hf download hf://cidcodes/indic-e5-small@08d044b8792a0d345fc3d7911036edbe251e5425/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/cidcodes/indic-e5-small/resolve/08d044b8792a0d345fc3d7911036edbe251e5425/tokenizer_config.json
424 Bytes
| { | |
| "add_prefix_space": true, | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "<s>", | |
| "eos_token": "</s>", | |
| "is_local": true, | |
| "local_files_only": false, | |
| "mask_token": "<mask>", | |
| "model_max_length": 128, | |
| "pad_token": "<pad>", | |
| "sep_token": "</s>", | |
| "sp_model_kwargs": {}, | |
| "tokenizer_class": "XLMRobertaTokenizer", | |
| "unk_token": "<unk>" | |
| } | |