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