Mindket

GLiNER2.5 Base

Newversion 1 · updated

Overview

Pulls entities, relations and structured records out of English text, and classifies it, from one schema, running locally on CPU, CUDA or MPS. It suits developers who build text extraction pipelines.

GLiNER2.5 Base is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python 3.10 or newer
  • The gliner2 package with the local extra
  • Disk space for about 774 MB of weights in F32
Runs in
  • Python scripts that import the gliner2 package
  • Windows, macOS or Linux with Python 3.10 or newer
  • CPU, CUDA or MPS devices
Start with
pip install "gliner2[local]"

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

GLiNER2.5 Base is the English checkpoint of fastino's GLiNER2.5 family, built at DeBERTa-v3-base scale. One schema drives several jobs: named entities, text classification, structured records, relations and span attributes.

It runs on your own machine and needs no external API.

Who it suits

Developers and data teams who turn English text into labels, records and relations suit it best. It runs from Python.

IndustryWho uses itHow they use itExample
SoftwareBackend developersExtract people, companies and products from textMark entities in a news line with character offsets
Data operationsData teamsTurn free text into structured recordsFill fields from a product description
ResearchNLP researchersStudy schema-driven extraction with constrained decodingLink entities and relations in one typed graph

Anyone who works in other languages can skip it, because this checkpoint is English only. A separate multilingual checkpoint exists.

Where to use it

You run it in Python on your own computer.

  • Python scripts that import the gliner2 package
  • Windows, macOS or Linux with Python 3.10 or newer
  • CPU, CUDA or MPS devices
Use caseWhoWhat they get back
Entity extractionDevelopersEntities with text, offsets and confidence
ClassificationData teamsLabels for each text
Structured recordsData teamsFields filled from free text
Entity-relation graphsResearchersTyped links between entities

How to set it up

You need Python 3.10 or newer and the gliner2 package with its local extra, which pulls in PyTorch.

  • Python 3.10 or newer
  • The gliner2 package with the local extra
  • Disk space for about 774 MB of weights in F32
  1. Install Python 3.10 or newer.
  2. Install the gliner2 package with the local extra.
  3. Optionally download the model files ahead of time with the hub tools.
  4. Load the model with AutoExtractor by its name.
pip install "gliner2[local]"
pip install -U huggingface_hub
hf download fastino/gliner2.5-base-v1

How to use it

Always load this checkpoint with AutoExtractor. The older GLiNER2 loader is for span models and will not dispatch it.

from gliner2 import AutoExtractor

model = AutoExtractor.from_pretrained("fastino/gliner2.5-base-v1")

print(type(model).__name__)
print(model.config.architecture)
# BoundaryExtractor
# boundary

Then call extract_entities with a text and your labels. The two options below add a confidence score and character spans.

text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday."

result = model.extract_entities(
    text,
    ["company", "person", "product", "location"],
    include_confidence=True,
    include_spans=True,
)
print(result)
ToolWhat it does
AutoExtractorLoads the checkpoint and picks its architecture
extract_entitiesFinds entities for the labels you give
ClassifierApplies label constraints across tasks
JointIEBuilds typed entity and relation graphs

Example

You pass a sentence about a company CEO announcing a phone in a city, with the labels company, person, product and location. Each match comes back with its text, character offsets and a confidence score.

For newcomers and experts

Think of the model as a reader that marks up text for you. You say what to look for, and it returns the matches. Your first small try is the entity example above with a sentence of your own.

Under the hood, the boundary architecture pairs start and end points sparsely instead of scoring a fixed grid of span widths. Offsets are half-open character spans into your string. Constrained decoding adds cross-task label limits and typed entity-relation graphs. The record lists 194M parameters.

  1. Your text and a schema or labels
  2. The boundary extractor pairs start and end points
  3. Constrained decoding applies label rules
  4. Matches come back with offsets and scores

Good to know

Two sibling checkpoints share the same public API, and this card covers only the base one.

The GLiNER2.5 family
ModelParametersEncoderUse case
gliner2.5-small-v174MDeBERTa-v3-xsmallQuick extraction and classification on a CPU
gliner2.5-base-v1194MDeBERTa-v3-baseThe default English multi-task checkpoint
gliner2.5-multi-v1287MmDeBERTa-v3-baseThe default multilingual multi-task checkpoint
  • Size: 194M parameters, about 774 MB in F32, stored as Safetensors
  • Language: English
  • Other versions: Hugging Face lists 4 quantized and 12 fine-tuned versions made by other people
  • License: apache-2.0
  • Cost to run: none named
  • Data it reaches: the text you give it, and the model files downloaded from Hugging Face

README and files

README

GLiNER2.5 Base

Pulls entities, relations and structured records out of English text, and classifies it, from one schema, running locally on CPU, CUDA or MPS. It suits developers who build text extraction pipelines.

Made by fastino on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: GLiNER2.5 Base is the English checkpoint of fastino's GLiNER2.5 family, built at DeBERTa-v3-base scale. One schema drives several jobs: named entities, text classification, structured records, relations and span attributes.

It runs on your own machine and needs no external API.

Who it suits: Developers and data teams who turn English text into labels, records and relations suit it best. It runs from Python.

Industry | Who uses it | How they use it | Example
Software | Backend developers | Extract people, companies and products from text | Mark entities in a news line with character offsets
Data operations | Data teams | Turn free text into structured records | Fill fields from a product description
Research | NLP researchers | Study schema-driven extraction with constrained decoding | Link entities and relations in one typed graph

Anyone who works in other languages can skip it, because this checkpoint is English only. A separate multilingual checkpoint exists.

Where to use it: You run it in Python on your own computer.

  • Python scripts that import the gliner2 package
  • Windows, macOS or Linux with Python 3.10 or newer
  • CPU, CUDA or MPS devices
Use case | Who | What they get back
Entity extraction | Developers | Entities with text, offsets and confidence
Classification | Data teams | Labels for each text
Structured records | Data teams | Fields filled from free text
Entity-relation graphs | Researchers | Typed links between entities

How to set it up: You need Python 3.10 or newer and the gliner2 package with its local extra, which pulls in PyTorch.

  • Python 3.10 or newer
  • The gliner2 package with the local extra
  • Disk space for about 774 MB of weights in F32
  1. Install Python 3.10 or newer.
  2. Install the gliner2 package with the local extra.
  3. Optionally download the model files ahead of time with the hub tools.
  4. Load the model with AutoExtractor by its name.
pip install "gliner2[local]"
pip install -U huggingface_hub
hf download fastino/gliner2.5-base-v1

How to use it: Always load this checkpoint with AutoExtractor. The older GLiNER2 loader is for span models and will not dispatch it.

from gliner2 import AutoExtractor

model = AutoExtractor.from_pretrained("fastino/gliner2.5-base-v1")

print(type(model).__name__)
print(model.config.architecture)
# BoundaryExtractor
# boundary

Then call extract_entities with a text and your labels. The two options below add a confidence score and character spans.

text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday."

result = model.extract_entities(
    text,
    ["company", "person", "product", "location"],
    include_confidence=True,
    include_spans=True,
)
print(result)
Tool | What it does
AutoExtractor | Loads the checkpoint and picks its architecture
extract_entities | Finds entities for the labels you give
Classifier | Applies label constraints across tasks
JointIE | Builds typed entity and relation graphs

Example: You pass a sentence about a company CEO announcing a phone in a city, with the labels company, person, product and location. Each match comes back with its text, character offsets and a confidence score.

For newcomers and experts: Think of the model as a reader that marks up text for you. You say what to look for, and it returns the matches. Your first small try is the entity example above with a sentence of your own.

Under the hood, the boundary architecture pairs start and end points sparsely instead of scoring a fixed grid of span widths. Offsets are half-open character spans into your string. Constrained decoding adds cross-task label limits and typed entity-relation graphs. The record lists 194M parameters.

Your text and a schema or labels
The boundary extractor pairs start and end points
Constrained decoding applies label rules
Matches come back with offsets and scores

Good to know: Two sibling checkpoints share the same public API, and this card covers only the base one.

Title: The GLiNER2.5 family
Model | Parameters | Encoder | Use case
gliner2.5-small-v1 | 74M | DeBERTa-v3-xsmall | Quick extraction and classification on a CPU
gliner2.5-base-v1 | 194M | DeBERTa-v3-base | The default English multi-task checkpoint
gliner2.5-multi-v1 | 287M | mDeBERTa-v3-base | The default multilingual multi-task checkpoint
  • Size: 194M parameters, about 774 MB in F32, stored as Safetensors
  • Language: English
  • Other versions: Hugging Face lists 4 quantized and 12 fine-tuned versions made by other people
  • License: apache-2.0
  • Cost to run: none named
  • Data it reaches: the text you give it, and the model files downloaded from Hugging Face

On Hugging Face, 14 November 2026

  • Library: transformers
  • Parameters: 194M
  • Weights: about 774 MB in F32; about 97 MB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 132,027
  • Likes: 43
  • License: apache-2.0
  • Languages: en
  • Quantized versions: 4
  • Fine-tunes: 12
  • Tags: transformers, safetensors, gliner2, information-extraction, boundary-extraction

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download fastino/gliner2.5-base-v1

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
GLiNER2.5 Base This page132,02743194Mapache-2.0
GLiNER2.5 MultiShares boundary-extraction · information-extraction · gliner288,821300287Mapache-2.0
UltraBERT-150M-clairic-extractionShares information-extraction · transformers · safetensors1385151Mapache-2.0
GLiNER2.5-DecideShares gliner2 · transformers · safetensors89,759457486Mapache-2.0
GLiNER2.5-multi-DecideShares gliner2 · transformers · safetensors12,03774287Mapache-2.0
GLiNER2 baseShares gliner2 · safetensors353,994106208Mapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k