Instructions to use NAMAA-Space/gliner_arabic-v2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use NAMAA-Space/gliner_arabic-v2.1 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("NAMAA-Space/gliner_arabic-v2.1") text = "Cristiano Ronaldo dos Santos Aveiro was born on 5 February 1985 in Funchal, Madeira, Portugal." labels = ["person", "date", "location"] entities = model.predict_entities(text, labels) for entity in entities: print(entity["text"], "=>", entity["label"]) - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature0403be7 -
Update README.md
Verified signature31721b8 -
Update README.md
Verified signature517a3ab -
Update README.md
Verified signature67208bd -
Update README.md
Verified signaturee23e524
-
Update README.md
Verified signature6f48c6e -
Update README.md
Verified signature5153b6b
-
Update README.md
Verified signatured7058d0 -
Update README.md
Verified signature5aa0629 -
Update README.md
Verified signaturecbf2624 -
Create README.mdโ
Verified signature## Model Card for Gliner Arabic Rich GLiNER is a Named Entity Recognition (NER) model capable of identifying any entity type using a bidirectional transformer encoder (BERT-like). It provides a practical alternative to traditional NER models, which are limited to predefined entities, and Large Language Models (LLMs) that, despite their flexibility, are costly and large for resource-constrained scenarios. This version has been trained on the rich Arabic Dataset for different domains ## Installation To use this model , you must install the GLiNER python library: ```bash !pip install gliner ``` Once you've downloaded the GLiNER library, you can import the GLiNER class. You can then load this model using GLiNER.from_pretrained and predict entities with predict_entities.f7c42d8
-
Push model using huggingface_hub.
Verified signature1d5faaf -
initial commit
Verified signaturef760358