How to use FremyCompany/BioLORD-2023-M-Dutch-InContext-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("FremyCompany/BioLORD-2023-M-Dutch-InContext-v1") sentences = [ "bartonellosis", "kattenkrabziekte", "wond, kattenkrab", "door teken overgedragen orbiviruskoorts", "kattenbont" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [5, 5]
The community tab is the place to discuss and collaborate with the HF community!