
GLINER2.5
COMPARISON
MODEL SIZE (PARAMETERS)
GENERAL NER (FEW-NERD) - F1
—
NATURAL LANGUAGE INFERENCE (XNLI) - F1
—
NAMED ENTITY RECOGNITION
✓
✓
✓
TEXT CLASSIFICATION
—
STRUCTURED / JSON EXTRACTION
✓
✓
—
RELATION EXTRACTION
✓ (more optimized)
✓
—
CROSS-TASK CONSTRAINTS
✓ (more optimized)
✓
—
LONG-DOCUMENT UTILITIES
✓
—
—
SPAN ATTRIBUTES
✓
—
—
INPUT CONTEXT
MAX SPAN LENGTH
OPEN-SOURCE LICENSE
Apache 2.0
Apache 2.0
Apache 2.0
FROM THE COMMUNITY
USE CASE
01
Privacy
PII redaction and privacy compliance
GLiNER's most common use case: teams run it locally, in the browser, or on-prem to mask personal data before it leaves their infrastructure.
02
Search
Domain-specific NER for RAG and search
Tag the entities that matter in your domain (product names, error codes, internal terms, etc.) so retrieval matches on meaning, not keyword overlap.
03
Healthcare
Biomedical and clinical entity extraction
Zero-shot NER where labeled data is scarce. OpenMed maintains 30+ GLiNER fine-tunes for disease, drug, and pathology extraction, used in clinical notes and literature mining.
04
Knowledge graphs
Knowledge graph construction
Extract entities and their relationships directly from text or documents. GLiNER2 outputs structured graph data to populate knowledge bases and agent memory.
05
Safety
LLM guardrails and safety classification
A fast, local safety layer. GLiGuard classifies prompts and responses for jailbreaks, toxicity, and PII leakage.
06
Multilingual
Non-English and low-resource NER
Extend GLiNER to a new language with a handful of labeled examples. Fine-tunes already cover Japanese, German, Wolof, Turkish, and more.
07
Documents
Structured extraction from documents
Turn unstructured text into typed JSON. Pull structured records from contracts, invoices, and financial reports without prompt engineering.
08
Data labeling
Data labeling and annotation
Train your own models faster. Label Studio integrates GLiNER for NER pre-annotation, so teams generate silver labels and humans review instead of labeling from scratch.
Building something with GLiNER? Share your story.
Share your story












