Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:1893949
loss:Contrastive
text-embeddings-inference
Instructions to use ayushexel/colbert-MiniLM-L6-H384-1-epoch-gooaq-1995000 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ayushexel/colbert-MiniLM-L6-H384-1-epoch-gooaq-1995000 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ayushexel/colbert-MiniLM-L6-H384-1-epoch-gooaq-1995000") sentences = [ "what medicine can i give my dog for kennel cough?", "Your veterinarian can prescribe a round of antibiotics to help your dog recover faster. Some of the most widely prescribed medications for Kennel Cough are Baytril, Doxycycline, and Clavamox. However, because the disease is caused by both a virus and bacteria, the dog will require a dual-purpose treatment.", "Preventing Kennel Cough The kennel cough vaccination is given once a year, but should not be given at the same time as their annual booster. If you're going on holiday, it's important that your dog is vaccinated against kennel cough. Often kennels will not accept your dog if it has not had a kennel cough vaccination.", "The Driver Guide A driver guide will act as your driver and tour guide in one person. He is less knowledgeable than the tour guide, but can provide you with the most important information, help you to get around at the destination and give tips about the best photo spots." ] 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!