GLiNER: Generalist Model for Named Entity Recognition using Bidirectional Transformer
Urchade Zaratiana, Nadi Tomeh, Pierre Holat, Thierry Charnois

TL;DR
GLiNER is a compact, bidirectional transformer-based NER model capable of recognizing any entity type, offering fast, parallel extraction and outperforming larger LLMs in zero-shot benchmarks.
Contribution
The paper introduces GLiNER, a novel, resource-efficient NER model that generalizes to any entity type and enables parallel extraction, surpassing existing LLMs in zero-shot performance.
Findings
GLiNER outperforms ChatGPT and fine-tuned LLMs in zero-shot NER tasks.
GLiNER enables fast, parallel entity extraction.
The model is effective across various NER benchmarks.
Abstract
Named Entity Recognition (NER) is essential in various Natural Language Processing (NLP) applications. Traditional NER models are effective but limited to a set of predefined entity types. In contrast, Large Language Models (LLMs) can extract arbitrary entities through natural language instructions, offering greater flexibility. However, their size and cost, particularly for those accessed via APIs like ChatGPT, make them impractical in resource-limited scenarios. In this paper, we introduce a compact NER model trained to identify any type of entity. Leveraging a bidirectional transformer encoder, our model, GLiNER, facilitates parallel entity extraction, an advantage over the slow sequential token generation of LLMs. Through comprehensive testing, GLiNER demonstrate strong performance, outperforming both ChatGPT and fine-tuned LLMs in zero-shot evaluations on various NER benchmarks.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗urchade/gliner_multi-v2.1model· 17k dl· ♡ 15717k dl♡ 157
- 🤗urchade/gliner_multi_pii-v1model· 51k dl· ♡ 15851k dl♡ 158
- 🤗jackboyla/glirel-large-v0model· ♡ 22♡ 22
- 🤗knowledgator/gliner-pii-base-v1.0model· 2.6k dl· ♡ 132.6k dl♡ 13
- 🤗urchade/gliner_multimodel· 254 dl· ♡ 130254 dl♡ 130
- 🤗urchade/gliner_basemodel· 3.2k dl· ♡ 833.2k dl♡ 83
- 🤗urchade/gliner_large-v1model· 6.0k dl· ♡ 56.0k dl♡ 5
- 🤗urchade/gliner_medium-v1model· 100 dl· ♡ 5100 dl♡ 5
- 🤗urchade/gliner_small-v1model· 170 dl· ♡ 10170 dl♡ 10
- 🤗urchade/gliner_small-v2model· 77 dl· ♡ 677 dl♡ 6
Videos
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Text and Document Classification Technologies
MethodsSparse Evolutionary Training
