Instructions to use ai4data/gliner_datause with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use ai4data/gliner_datause with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("ai4data/gliner_datause") 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
5c520de | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e813d7d8ce08dab4b9d6cc3754b780e8f98911088e1fa9e45eb7639c162962ac
size 1782006819
|