numind / NuNER_Zero

huggingface.co
Total runs: 14.7K
24-hour runs: 0
7-day runs: 16
30-day runs: 1.6K
Model's Last Updated: February 26 2025
token-classification

Introduction of NuNER_Zero

Model Details of NuNER_Zero

NuNER Zero is a zero-shot Named Entity Recognition (NER) Model. (Check NuNER for the few-shot setting).

NuNER Zero uses the GLiNER architecture: its input should be a concatenation of entity types and text.

Unlike GliNER, NuNER Zero is a token classifier, which allows detect arbitrary long entities.

NuNER Zero was trained on NuNER v2.0 dataset, which combines subsets of Pile and C4 annotated via LLMs using NuNER's procedure .

NuNER Zero is (at the time of its release) the best compact zero-shot NER model (+3.1% token-level F1-Score over GLiNER-large-v2.1 on GLiNERS's benchmark)

Installation & Usage
!pip install gliner

NuZero requires labels to be lower-cased

from gliner import GLiNER

def merge_entities(entities):
    if not entities:
        return []
    merged = []
    current = entities[0]
    for next_entity in entities[1:]:
        if next_entity['label'] == current['label'] and (next_entity['start'] == current['end'] + 1 or next_entity['start'] == current['end']):
            current['text'] = text[current['start']: next_entity['end']].strip()
            current['end'] = next_entity['end']
        else:
            merged.append(current)
            current = next_entity
    # Append the last entity
    merged.append(current)
    return merged


model = GLiNER.from_pretrained("numind/NuNerZero")

# NuZero requires labels to be lower-cased!
labels = ["organization", "initiative", "project"]
labels = [l.lower() for l in labels]

text = "At the annual technology summit, the keynote address was delivered by a senior member of the Association for Computing Machinery Special Interest Group on Algorithms and Computation Theory, which recently launched an expansive initiative titled 'Quantum Computing and Algorithmic Innovations: Shaping the Future of Technology'. This initiative explores the implications of quantum mechanics on next-generation computing and algorithm design and is part of a broader effort that includes the 'Global Computational Science Advancement Project'. The latter focuses on enhancing computational methodologies across scientific disciplines, aiming to set new benchmarks in computational efficiency and accuracy."

entities = model.predict_entities(text, labels)

entities = merge_entities(entities)

for entity in entities:
    print(entity["text"], "=>", entity["label"])
Association for Computing Machinery Special Interest Group on Algorithms and Computation Theory => organization
Quantum Computing and Algorithmic Innovations: Shaping the Future of Technology => initiative
Global Computational Science Advancement Project => project
Fine-tuning

A fine-tuning script can be found here .

Citation
This work
@misc{bogdanov2024nuner,
      title={NuNER: Entity Recognition Encoder Pre-training via LLM-Annotated Data}, 
      author={Sergei Bogdanov and Alexandre Constantin and Timothée Bernard and Benoit Crabbé and Etienne Bernard},
      year={2024},
      eprint={2402.15343},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
Previous work
@misc{zaratiana2023gliner,
      title={GLiNER: Generalist Model for Named Entity Recognition using Bidirectional Transformer}, 
      author={Urchade Zaratiana and Nadi Tomeh and Pierre Holat and Thierry Charnois},
      year={2023},
      eprint={2311.08526},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

Runs of numind NuNER_Zero on huggingface.co

14.7K
Total runs
0
24-hour runs
0
3-day runs
16
7-day runs
1.6K
30-day runs

More Information About NuNER_Zero huggingface.co Model

More NuNER_Zero license Visit here:

https://choosealicense.com/licenses/mit

NuNER_Zero huggingface.co

NuNER_Zero huggingface.co is an AI model on huggingface.co that provides NuNER_Zero's model effect (), which can be used instantly with this numind NuNER_Zero model. huggingface.co supports a free trial of the NuNER_Zero model, and also provides paid use of the NuNER_Zero. Support call NuNER_Zero model through api, including Node.js, Python, http.

NuNER_Zero huggingface.co Url

https://huggingface.co/numind/NuNER_Zero

numind NuNER_Zero online free

NuNER_Zero huggingface.co is an online trial and call api platform, which integrates NuNER_Zero's modeling effects, including api services, and provides a free online trial of NuNER_Zero, you can try NuNER_Zero online for free by clicking the link below.

numind NuNER_Zero online free url in huggingface.co:

https://huggingface.co/numind/NuNER_Zero

NuNER_Zero install

NuNER_Zero is an open source model from GitHub that offers a free installation service, and any user can find NuNER_Zero on GitHub to install. At the same time, huggingface.co provides the effect of NuNER_Zero install, users can directly use NuNER_Zero installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

NuNER_Zero install url in huggingface.co:

https://huggingface.co/numind/NuNER_Zero

Url of NuNER_Zero

NuNER_Zero huggingface.co Url

Provider of NuNER_Zero huggingface.co

numind
ORGANIZATIONS

Other API from numind

huggingface.co

Total runs: 108.5K
Run Growth: 0
Growth Rate: 0.00%
Updated:November 06 2024
huggingface.co

Total runs: 17.2K
Run Growth: -465
Growth Rate: -2.71%
Updated:October 17 2024
huggingface.co

Total runs: 7.1K
Run Growth: -79.0K
Growth Rate: -1108.25%
Updated:July 17 2025
huggingface.co

Total runs: 7.1K
Run Growth: 1.2K
Growth Rate: 16.59%
Updated:April 30 2024
huggingface.co

Total runs: 6.6K
Run Growth: 503
Growth Rate: 7.66%
Updated:May 07 2024
huggingface.co

Total runs: 1.4K
Run Growth: 997
Growth Rate: 71.16%
Updated:October 17 2024
huggingface.co

Total runs: 83
Run Growth: 62
Growth Rate: 74.70%
Updated:February 03 2025
huggingface.co

Total runs: 22
Run Growth: -3
Growth Rate: -13.64%
Updated:September 06 2023
huggingface.co

Total runs: 11
Run Growth: 2
Growth Rate: 18.18%
Updated:April 30 2024
huggingface.co

Total runs: 4
Run Growth: 1
Growth Rate: 25.00%
Updated:August 17 2023
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:August 17 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 23 2024