Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:2000
loss:CoSENTLoss
text-embeddings-inference
Instructions to use moshew/gist_small_ft_gooaq_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use moshew/gist_small_ft_gooaq_v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("moshew/gist_small_ft_gooaq_v2") sentences = [ "is alexa compatible with tv?", "Of een ei iedere dag gezond of ongezond is, hangt af van wat je verder iedere dag eet. Het Voedingscentrum adviseert om te variëren in vis, peulvruchten, vlees en ei. Het eten van 2-3 eieren per week past in een gezonde voeding. Vegetariërs kunnen 3-4 eieren per week eten.", "The price was right, the size was right and as it turns out this PYLE TV has the best picture quality of all 5 TVs that our family watches! The setup was super easy with no hassle. I would recommend it to anyone!", "According to the Association of British Insurers, insurance companies will look into a policyholder's medical profile if they give up smoking. They'll commonly seek a report from a policyholder's family doctor. If this raises concerns, they may ask a policyholder to have a chest X-ray." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K