Downloads · 30 days
430
1% of all-time downloads
NAMAA-Space/GATE-Reranker-V1
GATE-Reranker-V1 is a text ranking model from NAMAA-Space. Use it for the text ranking task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
NAMAA-space releases GATE-Reranker-V1, a high-performance model fine-tuned to elevate Arabic document retrieval and ranking to new heights! 📚🇸🇦
Downloads · 30 days
430
1% of all-time downloads
All-time downloads
33.1K
Public
Parameters
135M
541 MB on disk
Likes
11
Public
Click a slice to open those files.
.safetensors541 MB · 100%
From the Hugging Face model README
NAMAA-space releases GATE-Reranker-V1, a high-performance model fine-tuned to elevate Arabic document retrieval and ranking to new heights! 📚🇸🇦
This model is designed to improve search relevance of arabic documents by accurately ranking documents based on their contextual fit for a given query.
The usage becomes easier when you have SentenceTransformers installed. Then, you can use the pre-trained models like this:
from sentence_transformers import CrossEncoder
model = CrossEncoder('NAMAA-Space/GATE-Reranker-V1', max_length=512)
Query = 'كيف يمكن استخدام التعلم العميق في معالجة الصور الطبية؟'
Paragraph1 = 'التعلم العميق يساعد في تحليل الصور الطبية وتشخيص الأمراض'
Paragraph2 = 'الذكاء الاصطناعي يستخدم في تحسين الإنتاجية في الصناعات'
scores = model.predict([(Query, Paragraph1), (Query, Paragraph2)])
We evaluate our model on two different datasets using the metrics MAP, MRR and NDCG@10:
The purpose of this evaluation is to highlight the performance of our model with regards to: Relevant/Irrelevant labels and positive/multiple negatives documents:
Dataset 1: NAMAA-Space/Ar-Reranking-Eval

Dataset 2: NAMAA-Space/Arabic-Reranking-Triplet-5-Eval

As seen, The model performs extremly well in comparison to other famous rerankers.
WIP: More comparisons and evaluation on arabic datasets.