Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
dense
Generated from Trainer
dataset_size:295188
loss:WeightedMultiPositiveCachedLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Ehsanl/cncpt_e5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Ehsanl/cncpt_e5 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Ehsanl/cncpt_e5") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from Ehsanl/cncpt_e5: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/Ehsanl/cncpt_e5/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Ehsanl/cncpt_e5/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Ehsanl/cncpt_e5/resolve/main/tokenizer_config.json
413 Bytes
| { | |
| "add_prefix_space": true, | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "<s>", | |
| "eos_token": "</s>", | |
| "extra_special_tokens": [], | |
| "is_local": false, | |
| "local_files_only": false, | |
| "mask_token": "<mask>", | |
| "model_max_length": 512, | |
| "pad_token": "<pad>", | |
| "sep_token": "</s>", | |
| "tokenizer_class": "XLMRobertaTokenizer", | |
| "unk_token": "<unk>" | |
| } | |