How to use NetherQuartz/LaBSE-tokipona with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("NetherQuartz/LaBSE-tokipona") sentences = [ "Kendi kendine yardım etsen Tanrı da sana yardımcı olur.", "nasin sina li pona seme?", "ona li jan sona.", "o pana e pona tawa sama sina la mama sewi li pana e pona tawa sina." ] 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!