$npx skillfedfor your agent

gliner

Generalist model for NER (Extract any entity types from texts)

Worth itPyPI Artificial IntelligenceReleased Jul 2026788.2K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — gliner-0.2.28-py3-none-any.whl
v0.2.28 · released 2026-07-24 · Python >=3.10 · 6 runtime deps: torch, transformers, huggingface_hub, tqdm, onnxruntime, sentencepiece

Yes. GLiNER is actively maintained, has no known vulnerabilities, and offers a practical solution for zero-shot entity extraction without labeled data. The permissive Apache-2.0 license and low install friction make it accessible. Install it if you need flexible NER without task-specific training, or if you want to experiment with entity extraction on diverse entity types. The Ray Serve integration and quantization support make it viable for production, though you should verify performance on your specific hardware and entity types before deploying.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; torch and transformers must be installed and compatible with your hardware (CPU or GPU).
  • Installation is straightforward with low friction; the package depends on torch, transformers, huggingface_hub, tqdm, onnxruntime, and sentencepiece.
  • The project is actively maintained with a recent release and 3537 GitHub stars, indicating solid community adoption and ongoing development.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 is a permissive license, allowing commercial use, modification, and redistribution with minimal restrictions—suitable for most production and research contexts.

last release 2026-07-24 (21 days) · last repo commit 2026-08-10 · 3,537 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 788,163 downloads/mo, #5,057 on PyPI

Verify before relying

pip install gliner

from gliner import GLiNER

model = GLiNER.from_pretrained("gliner-community/gliner_small-v2.5")
entities = model.predict_entities("John works at Google", ["person", "organization"])
  • Whether pre-trained models are automatically downloaded on first use or require manual setup.
  • Specific performance benchmarks comparing GLiNER to ChatGPT or UniNER on standard NER datasets.
  • Memory footprint and inference latency on typical consumer hardware (e.g., CPU-only, 8GB RAM).
  • Compatibility and performance with ONNX export on edge devices.
Same gist for agents: .md · .json

What it is and what it does

GLiNER is a named entity recognition framework designed to extract entity types from text without requiring labeled training data. It uses a bi-encoder architecture that pre-computes label embeddings, enabling zero-shot recognition across many entity types. The framework is optimized for deployment on CPUs and consumer hardware through quantization and torch.compile, and includes support for streaming NER, joint entity-relation extraction, and multilingual PII detection across 100+ languages.

The package provides both inference and fine-tuning capabilities. For production workloads, it offers Ray Serve integration for high-throughput serving with dynamic batching and horizontal scaling. Pre-trained models are available via Hugging Face Hub, and the framework supports multiple architectures (uni-encoder, bi-encoder, RelEx, decoder, streaming) tailored to different use cases. Training on custom data is supported through JSON-based datasets and programmatic APIs.

Use it for

  • Extract personal identifiable information (SSN, credit cards, emails) from documents for compliance and redaction workflows.
  • Build knowledge graphs by jointly extracting entities and relations from unstructured text in a single pass.
  • Tag millions of documents against hundreds of entity types in production pipelines using the bi-encoder architecture.
  • Fine-tune on domain-specific corpora (biomedical, legal, financial) with minimal labeled examples.
  • Parse queries and documents in 100+ languages to extract structured data for multilingual applications.
  • Serve NER models at scale with automatic batching and memory-aware GPU allocation via Ray Serve.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

GLiNER is actively maintained, has no known vulnerabilities, and offers a practical solution for zero-shot entity extraction without labeled data. The permissive Apache-2.0 license and low install friction make it accessible. Install it if you need flexible NER without task-specific training, or if you want to experiment with entity extraction on diverse entity types. The Ray Serve integration and quantization support make it viable for production, though you should verify performance on your specific hardware and entity types before deploying.

Install

gliner on PyPI

Before you install

Installation is straightforward with low friction; the package depends on torch, transformers, huggingface_hub, tqdm, onnxruntime, and sentencepiece. The project is actively maintained with a recent release and 3537 GitHub stars, indicating solid community adoption and ongoing development.

Requires Python 3.10 or later; torch and transformers must be installed and compatible with your hardware (CPU or GPU).

License in practice

Apache-2.0 is a permissive license, allowing commercial use, modification, and redistribution with minimal restrictions—suitable for most production and research contexts.

Quickstart

pip install gliner

from gliner import GLiNER

model = GLiNER.from_pretrained("gliner-community/gliner_small-v2.5")
entities = model.predict_entities("John works at Google", ["person", "organization"])

Verify before relying

  • Whether pre-trained models are automatically downloaded on first use or require manual setup.
  • Specific performance benchmarks comparing GLiNER to ChatGPT or UniNER on standard NER datasets.
  • Memory footprint and inference latency on typical consumer hardware (e.g., CPU-only, 8GB RAM).
  • Compatibility and performance with ONNX export on edge devices.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
torchtransformershuggingface_hubtqdmonnxruntimesentencepiece
MaintenanceActively maintained 21 days since the last release
Last repo commit
First released
Downloads788,163 / month, #5,057 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: gliner-0.2.28-py3-none-any.whl

Tags

Capabilities
zero-shot named entity recognitionNER without labeled dataentity extraction lightweight modelrelation extraction frameworkPII detection multilingualtoken classification transformersinformation extraction CPUstreaming NER
Topics
named-entity-recognitionzero-shot-learninginformation-extraction
PyPI keywords
named-entity-recognitionnerdata-sciencenatural-language-processingartificial-intelligencenlpmachine-learningtransformers

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “zero-shot named entity recognition”

  • glinerGLiNER is a lightweight framework for named entity recognition that…
  • gliner2GLiNER2 extracts entities, classifies text, parses structured data,…
  • recognizers-text-choiceRecognizes and resolves entities like numbers, units, and date/time…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also gliner2 · flair · ginza · langextract · openmed · argus-redact · probablepeople · stanza · setfit