Text Ranking
Transformers
Safetensors
sentence-transformers
Arabic
bert
text-classification
reranking
text-embeddings-inference
Instructions to use NAMAA-Space/GATE-Reranker-V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NAMAA-Space/GATE-Reranker-V1 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NAMAA-Space/GATE-Reranker-V1") model = AutoModelForSequenceClassification.from_pretrained("NAMAA-Space/GATE-Reranker-V1") - sentence-transformers
How to use NAMAA-Space/GATE-Reranker-V1 with sentence-transformers:
from sentence_transformers import CrossEncoder model = CrossEncoder("NAMAA-Space/GATE-Reranker-V1") query = "Which planet is known as the Red Planet?" passages = [ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", "Saturn, famous for its rings, is sometimes mistaken for the Red Planet." ] scores = model.predict([(query, passage) for passage in passages]) print(scores) - Notebooks
- Google Colab
- Kaggle
Add https://huggingface.co/ to URL (#1)
Browse files- Add https://huggingface.co/ to URL (0f0db8db3b3d352b0ab45ee9538b9d88e5a0d761)
Co-authored-by: Tom Aarsen <tomaarsen@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -19,7 +19,7 @@ This model is designed to **improve search relevance** of **arabic** documents b
|
|
| 19 |
|
| 20 |
## Key Features 🔑
|
| 21 |
|
| 22 |
-
- **Optimized for Arabic**: Built on the highly performant [Omartificial-Intelligence-Space/GATE-AraBert-v1](Omartificial-Intelligence-Space/GATE-AraBert-v1) with exclusivly rich Arabic data.
|
| 23 |
- **Advanced Document Ranking**: Ranks results with precision, perfect for search engines, recommendation systems, and question-answering applications.
|
| 24 |
- **State-of-the-Art Performance**: Achieves excellent performance compared to famous rerankers(See [Evaluation](https://huggingface.co/NAMAA-Space/GATE-Reranker-V1#evaluation)), ensuring reliable relevance and precision.
|
| 25 |
|
|
|
|
| 19 |
|
| 20 |
## Key Features 🔑
|
| 21 |
|
| 22 |
+
- **Optimized for Arabic**: Built on the highly performant [Omartificial-Intelligence-Space/GATE-AraBert-v1](https://huggingface.co/Omartificial-Intelligence-Space/GATE-AraBert-v1) with exclusivly rich Arabic data.
|
| 23 |
- **Advanced Document Ranking**: Ranks results with precision, perfect for search engines, recommendation systems, and question-answering applications.
|
| 24 |
- **State-of-the-Art Performance**: Achieves excellent performance compared to famous rerankers(See [Evaluation](https://huggingface.co/NAMAA-Space/GATE-Reranker-V1#evaluation)), ensuring reliable relevance and precision.
|
| 25 |
|