How to use shubhamggaur/MedVisionRouter with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("shubhamggaur/MedVisionRouter") sentences = [ "Are there mitotic figures visible?", "skin biopsy showing inflammatory or neoplastic process", "immunohistochemistry staining for cancer subtyping", "skin surface showing pigmented lesion characteristics" ] 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!