Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:80
loss:CoSENTLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use JihaneJra/result_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use JihaneJra/result_model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("JihaneJra/result_model") sentences = [ "A couple play in the tide with their young son.", "The family is outside.", "A woman in white.", "Two adults swimming in water" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download 1_Pooling/config.json from JihaneJra/result_model: direct link, hf CLI and curl.
- Browser
- Download file 91 Bytes
-
https://huggingface.co/JihaneJra/result_model/resolve/main/1_Pooling/config.json
- Command line
-
hf download hf://JihaneJra/result_model/1_Pooling/config.json
-
curl -L -o config.json https://huggingface.co/JihaneJra/result_model/resolve/main/1_Pooling/config.json
91 Bytes
| { | |
| "embedding_dimension": 1024, | |
| "pooling_mode": "mean", | |
| "include_prompt": true | |
| } |