Sentence Similarity
sentence-transformers
Safetensors
Northern Hindko
Southern Hindko
xlm-roberta
feature-extraction
hindko
embeddings
low-resource
urdu-script
perso-arabic
Eval Results (legacy)
text-embeddings-inference
Instructions to use junaid008/hindko-embeddings with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use junaid008/hindko-embeddings with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("junaid008/hindko-embeddings") 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 junaid008/hindko-embeddings: direct link, hf CLI and curl.
- Browser
- Download file 544 Bytes
-
https://huggingface.co/junaid008/hindko-embeddings/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://junaid008/hindko-embeddings/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/junaid008/hindko-embeddings/resolve/main/tokenizer_config.json
544 Bytes
| { | |
| "add_prefix_space": true, | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "<s>", | |
| "eos_token": "</s>", | |
| "is_local": true, | |
| "mask_token": "<mask>", | |
| "max_length": 512, | |
| "model_max_length": 512, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "<pad>", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "sep_token": "</s>", | |
| "stride": 0, | |
| "tokenizer_class": "XLMRobertaTokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "<unk>" | |
| } | |