How to use mohsayed/para_tr_enar_1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("mohsayed/para_tr_enar_1") sentences = [ "zonivan 100 mg 20 caps.", "fuci-top 2% cream 15 gm", "فاستاتينال 10/40مجم 7 قرص", "زونيفان 100 مجم 20 كبسولة" ] 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!