How to use edubm/vis-sim-a2a-mpnet with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("edubm/vis-sim-a2a-mpnet") sentences = [ "What is the benefit of using a box plot?", "Why would you choose a box plot over a bar chart?", "Can you explain the difference between line charts and bar charts?", "What does color and size represent in Heat Map visualization?" ] 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!