Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:19979
loss:CoSENTLoss
text-embeddings-inference
Instructions to use moshew/gist_small_ft_gooaq_v4 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_v4 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("moshew/gist_small_ft_gooaq_v4") sentences = [ "why oval face shape is attractive?", "Both are also designed to add depth to your face, but in different ways. Bronzing primarily warms up your face, adding color in places where the sun would naturally hit. ... On the other hand, contouring is a makeup artist-approved technique that works to add structure and shadow to your face.", "'Ahjussi' literally means uncle. You can use it for people who are very old than you. Like someone who is the age of your father, or someone with an age gap of 20 years or above.", "Most major banks will be open on Christmas Eve 2018, even though it's a federal holiday and generally recognized as a bank holiday." ] 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!