Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:240
loss:CoSENTLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Ismailea04/result_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Ismailea04/result_model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Ismailea04/result_model") sentences = [ "A woman is walking across the street eating a banana, while a man is following with his briefcase.", "The bicyclists are dead.", "A man has facial hair.", "the woman is outside" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_prefix_space": true, | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": false, | |
| "cls_token": "<s>", | |
| "eos_token": "</s>", | |
| "is_local": false, | |
| "mask_token": "<mask>", | |
| "model_max_length": 512, | |
| "model_specific_special_tokens": {}, | |
| "pad_token": "<pad>", | |
| "sep_token": "</s>", | |
| "tokenizer_class": "XLMRobertaTokenizer", | |
| "unk_token": "<unk>" | |
| } | |