Downloads · 30 days
52
13% of all-time downloads
ahlkal/xlmr-african-qa-retriever
xlmr-african-qa-retriever is a sentence similarity model from ahlkal. Use it when you need a score for how close two texts are. It is set up for sentence-transformers.
This model is a fine-tuned SentenceTransformer retriever based on FacebookAI/xlm-roberta-base.
Downloads · 30 days
52
13% of all-time downloads
All-time downloads
404
Public
Parameters
278M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 99%
From the Hugging Face model README
This model is a fine-tuned SentenceTransformer retriever based on FacebookAI/xlm-roberta-base.
Dense retrieval for multilingual biomedical/health QA answer-bank matching.
Recommended document format:
Question: <question>
Answer: <answer>
MultipleNegativesRankingLoss using question/document positive pairs.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("ahlkal/xlmr-african-qa-retriever")
DENSE_MODEL = "ahlkal/xlmr-african-qa-retriever"
RERANKER_MODEL = "BAAI/bge-reranker-v2-m3"
TOP_K = 60
DENSE_TOP_K = 60
RERANK_K = 45
CE_BATCH_SIZE = 8
Compare oracle_rouge1_at_60 against BAAI/bge-m3 and intfloat/multilingual-e5-large.