Token Classification
GLiNER
PyTorch
English
entity recognition
NER
named entity recognition
zero shot
zero-shot
Instructions to use numind/NuNER_Zero-4k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use numind/NuNER_Zero-4k with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("numind/NuNER_Zero-4k") 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
Upload NuZero_token_long_token_metrics.txt
Browse files1234567891011121314151617181920212223242526272829303132333435##############################################step: finalTable for all datasets except crossNERACE 2004 : 36.7%ACE 2005 : 37.1%AnatEM : 27.6%Broad Tweet Corpus : 67.1%CoNLL 2003 : 71.3%FabNER : 33.3%FindVehicle : 39.3%GENIA_NER : 55.4%HarveyNER : 24.5%MultiNERD : 73.4%Ontonotes : 46.4%PolyglotNER : 51.9%TweetNER7 : 50.2%WikiANN en : 67.8%WikiNeural : 79.4%bc2gm : 41.9%bc4chemd : 66.6%bc5cdr : 72.6%ncbi : 71.0%Average : 53.3%
Table for zero-shot benchmarkCrossNER_AI : 61.5%CrossNER_literature : 69.1%CrossNER_music : 76.7%CrossNER_politics : 83.3%CrossNER_science : 68.7%mit-movie : 55.2%mit-restaurant : 50.6%Average : 66.5%##############################################
NuZero_token_long_token_metrics.txtAdded+35