Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Generated from Trainer
dataset_size:6284
loss:TripletLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use nikatonika/chatbot_sentence-transformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nikatonika/chatbot_sentence-transformer with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nikatonika/chatbot_sentence-transformer") sentences = [ "Its personal! [SEP] I put you on uppers and you still yawned. Means its a symptom, of being a big fat liar. Yawning is a side effect of some antidepressants, apparently the ones youre on. Im not on antidepressants Im on SPEEEEEED! Well that means its a symptom of a cerebral tumour. You got six weeks to live. Mr. Welladjusted is as messed up as the rest of us. Whwhy would you keep that a secret? Are you ashamed of recognising how pathetic your life is? Its not a secret. House itsits... its personal! How long has it been personal? Yawnings recent so! either you just started or you changed prescription.", "Yawnings recent so! either you just started or you changed prescription.", "The High Sparrow has hundreds of Faith Militant surrounding him. Ser Gregor will can’t face them all. And he won’t have to. He’ll only have to face one.", "Whoa, whoa, whoa! Hey! Whoa!" ] 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!