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 Riyadh03/result_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Riyadh03/result_model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Riyadh03/result_model") sentences = [ "A couple play in the tide with their young son.", "The family is outside.", "A man in a restaurant is waiting for his meal to arrive.", "Two adults walking across a road" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K