Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Generated from Trainer
dataset_size:50881
loss:TripletLoss
text-embeddings-inference
Instructions to use manuel-couto-pintos/roberta_erisk_sts 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_sts with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("manuel-couto-pintos/roberta_erisk_sts") sentences = [ "I smoked weed for the first time ever a couple days ago, how long until it's out of my system?", "If I haven't smoked weed in a long time and smoked 1 day, how long will it be in my urine?", "Where can we find best delay pedal?", "How long does it take for an avid weed smoker to pass a urine drug test?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!