Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Generated from Trainer
dataset_size:30288
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use manuel-couto-pintos/roberta_erisk_simcse with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use manuel-couto-pintos/roberta_erisk_simcse with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("manuel-couto-pintos/roberta_erisk_simcse") sentences = [ "Looks like a small cockroach, but much more colorful, 0.75\" long. [Atlanta, Georgia] ", "Help me win a bet: What size gi does Marcelo Garcia wear? I suspect he uses different size pants relative to the gi-top because of his epic thighs relative to stature. My buddy just says A2 all around (on average, recognizing that it varies by brand). What do you say? ", "What little things about the Star Wars Universe do you love? ", "Looks like a small cockroach, but much more colorful, 0.75\" long. [Atlanta, Georgia] " ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K