How to use ielabgroup/Starbucks_STS with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ielabgroup/Starbucks_STS") sentences = [ "A dog is in the water.", "The woman is wearing green.", "The dog is rolling around in the grass.", "A brown dog swims through water outdoors with a tennis ball in its mouth." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4]
The community tab is the place to discuss and collaborate with the HF community!