Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Generated from Trainer
dataset_size:17457
loss:TripletLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use nikatonika/chatbot_biencoder_v2_cos_sim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nikatonika/chatbot_biencoder_v2_cos_sim with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nikatonika/chatbot_biencoder_v2_cos_sim") sentences = [ "You haven't changed. Heard about your leg.", "How come Every time you compliment me, it sounds like an accusation?", "I will grant amnesty to all brothers who thrown down their arms before nightfall. And you, Ser Davos, I will allow you to travel south, a free man with a fresh horse.", "Yeah, pulled a hamstring playing Twister. Just gonna walk it off. So, who's the girl?" ] 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!