Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Generated from Trainer
dataset_size:1148085
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Shailu1492/roberta-base-mnrl-snli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Shailu1492/roberta-base-mnrl-snli with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Shailu1492/roberta-base-mnrl-snli") sentences = [ "A man with sunglasses on is dancing in the casino", "A man with sunglasses on is dancing in the casino", "The lady in blue sweater with her breast showing walking in a busy street fanning.", "The fresh pork is cut into bellies and scored to make it easier to cook and serve." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K