How to use from the
Use from the
sentence-transformers library
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("odunola/yoruba-embedding-model")

sentences = [
    "That is a happy person",
    "That is a happy dog",
    "That is a very happy person",
    "Today is a sunny day"
]
embeddings = model.encode(sentences)

similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]

This is a bge-base model trained to have mutlilingual semantic abilities, specifically the Yoruba Language An implementation of https://arxiv.org/abs/2004.09813, Making Monolingual Sentence Embeddings Multilingual using Knowledge Distillation

Downloads last month
86
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for odunola/yoruba-embedding-model

Quantizations
3 models

Paper for odunola/yoruba-embedding-model