How to use Auto-opts/flax-TMNRLB_CVR with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Auto-opts/flax-TMNRLB_CVR") sentences = [ "compression therapy benefits", "edema: what is, causes, symptoms, and treatment", "How VIN Data Enhances Market Value Assessments", "Daily Iron Intake from Leafy Greens and Fortified Cereals" ] 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!