How to use pramudyalyza/asktoal-model-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("pramudyalyza/asktoal-model-v2") sentences = [ "What's her experience like?", "What's her experience like?", "Alyza and her teammates delivered a 94% improvement in time efficiency.", "Alyza developed dashboards for Sell-In and Sell-Out analysis, analyzed and prepared sales data for meetings, collaborated on analyzing promotion-sales correlations, predicted future sales, analyzed stock on hand and offtake data, designed monthly sales plans, updated performance data, managed master data, created promotional cooperation letters, and addressed claim issues." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4]