Token Classification
GLiNER
PyTorch
English
entity recognition
NER
named entity recognition
zero shot
zero-shot
Instructions to use numind/NuNER_Zero-span with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use numind/NuNER_Zero-span with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("numind/NuNER_Zero-span") 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
Download zero_shot_performance_span.png from numind/NuNER_Zero-span: direct link, hf CLI and curl.
- Browser
- Download file 45 kB
-
https://huggingface.co/numind/NuNER_Zero-span/resolve/main/zero_shot_performance_span.png
- Command line
-
hf download hf://numind/NuNER_Zero-span/zero_shot_performance_span.png
-
curl -L -o zero_shot_performance_span.png https://huggingface.co/numind/NuNER_Zero-span/resolve/main/zero_shot_performance_span.png
45 kB
