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
File size: 135 Bytes
1d5faaf | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2c6cf66ec9e7dc2e4e19b017aaca8fa243a610373c4f33fe3a16a82b7cf9aae9
size 1155877322
|