Token Classification
GLiNER
PyTorch
Safetensors
English
entity recognition
NER
named entity recognition
zero shot
zero-shot
Instructions to use numind/NuNER_Zero with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use numind/NuNER_Zero with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("numind/NuNER_Zero") 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
Which span representation to choose?
#1
by robert-moyai - opened
I was wondering if there is any guidance on the span representation to choose in the gliner_config.json. I see the default option is "marker" but I can't find any documentation on the trade-offs between the possible span modes. Any guidance on this would be much appreciated.