How to use palusi/sentest with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("palusi/sentest") sentences = [ "Why am I still afraid of the dark?", "What one single change can change a life?", "Why do we have a dark side?", "Why are humans afraid of the dark?" ] 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!