urchade/gliner

Generalist and Lightweight Model for Named Entity Recognition (Extract any entity types from texts)

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 59 minutes ago
Added to GitGenius on September 18th, 2026
Created on November 14th, 2023
Open Issues & Pull Requests: 54 (+0)
GitHub issues: Enabled
Number of forks: 307
Total Stargazers: 3,854 (+0)
Total Subscribers: 22 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.6 days
Mean response time: 76.3 days
90th percentile: 275.2 days
Tracked items: 109

Most active contributors

Sign in to see contributor activity.

How this project is maintained

100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "enhancement" is answered fastest, typically in about 28 hours, while "bug" waits about 13 days. Three people close 80% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 50
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 578 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (36)
  • question (29)
  • enhancement (13)
  • documentation (1)
  • good first issue (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

GLiNER is a framework for training and deploying small named entity recognition models with zero-shot capabilities.

The tool addresses the need for efficient NER systems that can recognize arbitrary entity types without task-specific training data. GLiNER achieves this through a lightweight model architecture optimized for CPU and consumer hardware execution. It supports zero-shot entity extraction where users specify entity types at inference time, enabling the model to identify entities it has never explicitly seen during training. Beyond standard NER, the framework handles streaming NER for processing text incrementally, joint entity and relation extraction, and multi-task token classification. The approach delivers performance competitive with much larger language models while maintaining a small footprint suitable for resource-constrained environments.

Developers should choose GLiNER when they need flexible entity recognition across varying entity types without maintaining separate models for each task, or when deploying to devices with limited computational resources. The tool suits projects requiring zero-shot capabilities where entity types may be defined dynamically at runtime, as well as applications needing to extract both entities and their relationships. It is particularly valuable for teams wanting to avoid the latency and cost overhead of querying large language models for NER tasks. The framework is fine-tunable, allowing users to adapt pre-trained models to domain-specific requirements when zero-shot performance is insufficient.

The project maintains active community engagement through Discord and Reddit channels. Development includes regular model releases across different size variants available on Hugging Face. The codebase demonstrates ongoing refinement of the core architecture with support for multiple task types integrated into a single framework. Documentation is comprehensive with an official website, academic publication, and interactive demonstrations available through Colab and Hugging Face Spaces.