All benchmarks

  Peer-reviewed conference paper

A 0.3B GLiNER encoder beat ChatGPT at zero-shot entity extraction, on average over 7 domains

Made by Urchade Zaratiana and three co-authors

NAACL 2024; ChatGPT’s scores from the UniversalNER paper

The result

  • Quality

    Average zero-shot F1 over 7 out-of-domain NER datasets (CrossNER and MIT). Small model: GLiNER-L (0.3B). Large model: ChatGPT (gpt-3.5-turbo-0301).

    60.9vs 47.5

    Small model ahead

    GLiNER-L 0.3B60.9
    ChatGPT (gpt-3.5-turbo)47.5

    Zero-shot NER F1, 7 datasets · higher is better

The story

Many products need to pull names out of text: people, companies, drugs, film titles. Classic named-entity models know only the types they were trained on. Large language models can find any type named in a prompt, but the GLiNER authors point to their size and API cost.

Scoring spans instead of writing text

Researchers at FI Group and the LIPN lab (CNRS) built GLiNER on a BERT-style encoder. It reads the requested entity types and the passage together and scores every candidate span against every type at once, instead of generating an answer token by token.

Small model

GLiNER-L

0.3B · FI Group / LIPN (CNRS)

Encoder fine-tuned with new span and entity-type layers, trained once and then used zero-shot

Base
microsoft/deberta-v3-large (released config)
urchade/gliner_large-v1

Data

Pile-NER

44,889 passages, about 240k entity spans, 13k entity types

Passages from the Pile, annotated by ChatGPT (gpt-3.5-turbo-0301) for the UniversalNER paper

No human labels; UniversalNER itself counts 45,889 passages

Training

Full fine-tune of the encoder plus new layers

Binary cross-entropy over span-type pairs, with negative types sampled from other examples

1x NVIDIA A100 80GB
Time
About 5 h (Section 3.2) or 3 h 50 min (Appendix A.1); up to 30k steps, batch 8

Not reported: cost.

Tested on domains it never trained on

The authors scored GLiNER on seven datasets from other domains: AI, literature, music, politics and science from CrossNER, plus movie and restaurant data from MIT. ChatGPT’s scores on the same datasets come from the UniversalNER paper; they were not re-run.

Large model

ChatGPT (gpt-3.5-turbo-0301)

Size not disclosed · OpenAI

Used as released, zero-shot, with the prompt template of Ye et al. (2023); run by the UniversalNER authors

Base
OpenAI’s ChatGPT model, snapshot gpt-3.5-turbo-0301

Evaluation

Test set
7 out-of-domain datasets: CrossNER AI, literature, music, politics, science; MIT movie, restaurant
Metric
F1, exact match of span boundary and type
Items
416 to 2,442 test items per dataset, 6,467 in all (UniversalNER’s Table 6)
How it was compared
Same datasets and metric. ChatGPT’s scores were copied from UniversalNER (zero-shot, temperature not stated). GLiNER never trained on these sets, but its backbone and negative sampling were compared on them.

GLiNER-L averaged 60.9 F1 against 47.5 for ChatGPT and was ahead on six of the seven datasets; ChatGPT led on science, 67.0 to 62.6. On a wider set of 20 NER datasets, the averages were 47.8 and 36.5.

All the numbers

Show all numbersHide all numbersEvery model · Cost, latency and energy · 4 more results

Every model on the headline test

Cost, latency and energy, as reported

Cost
Not reported
Latency
Not reported
Energy
Not reported

More from the source

  • Per dataset, GLiNER-L vs ChatGPT (F1)

    Movie57.2 vs 5.3
    Restaurant42.9 vs 32.8
    AI57.2 vs 52.4
    Literature64.4 vs 39.8
    Music69.6 vs 66.6
    Politics72.6 vs 68.5
    Science62.6 vs 67.0 (ChatGPT ahead)

    Table 1

  • Larger fine-tuned LLMs on the same benchmark (average F1)

    GoLLIE (7B)58.0
    UniNER-13B55.6
    UniNER-7B53.7
    InstructUIE (11B)47.2

    Table 1

  • 20 common NER datasets, zero-shot average F1: GLiNER-L 47.8 vs ChatGPT 36.5 (UniNER-7B 45.7)

    Table 2

  • Multilingual (MultiCoNER), zero-shot average F1: GLiNER-Multi 32.9 vs ChatGPT 29.9; ahead of ChatGPT in 8 of the 10 languages not in its training data (behind on Korean and Turkish). The English-only GLiNER averages 23.6.

    Table 3, Section 1

Worth knowing

  • The comparison is with ChatGPT (GPT-3.5, snapshot 0301), not GPT-4 or later models, and its scores were copied from another paper rather than re-run side by side.
  • GLiNER learned from ChatGPT’s own annotations (Pile-NER), so this is a distilled specialist beating its teacher on held-out domains.
  • Not a clean sweep: ChatGPT is ahead on the Science dataset (67.0 vs 62.6), the English-only GLiNER trails ChatGPT on average across the 11 MultiCoNER languages (23.6 vs 29.9); GLiNER also trails UniNER on tweet datasets.
  • Model authors’ own paper, though peer-reviewed.
1 more caveat
  • Cannot extract discontinuous entities; exact-match F1 only (authors’ Limitations).

Weights on Hugging Face

Published

Verified 03 Oct 2026: urchade/gliner_large now redirects to urchade/gliner_large-v1 (trained on Universal-NER/Pile-NER-type, links arXiv 2311.08526, licence cc-by-nc-2.0). The paper does not name the exact checkpoint behind Table 1, so treat this as the closest public match.

Sources

  1. Zaratiana, Tomeh, Holat and Charnois, “GLiNER: Generalist Model for Named Entity Recognition using Bidirectional Transformer”, NAACL 2024
  2. arXiv version 2311.08526
  3. GLiNER code (GitHub, urchade/GLiNER)
  4. Source of the ChatGPT baseline: Zhou et al., “UniversalNER”, ICLR 2024, arXiv 2308.03279
  5. NAACL 2024 (Mexico City, 16-21 June 2024), pages 5364-5376. First posted on arXiv 14 Nov 2023 (2311.08526). The ChatGPT baseline is GPT-3.5 (gpt-3.5-turbo-0301), measured in 2023.
6 more sources behind this page
  1. aclanthology.org/2024.naacl-long.300.pdf
  2. arXiv 2311.08526v1
  3. arXiv 2308.03279v2
  4. github.com/urchade/GLiNER
  5. huggingface.co/urchade/gliner_large-v1
  6. huggingface.co/datasets/Universal-NER/Pile-NER-type
Share this benchmark

Drawing the image…

Post text