$npx skillfedfor your agent

curated-transformers

A PyTorch library of transformer models and components

With conditionsPyPI Artificial IntelligenceReleased Apr 2024924.2K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — curated_transformers-2.0.1-py2.py3-none-any.whl
v2.0.1 · released 2024-04-17 · Python >=3.9 · 5 runtime deps: catalogue, curated-tokenizers, huggingface-hub, tokenizers, torch

Yes, with conditions. Install if you need PyTorch transformer inference with clean, composable components and don't mind dormant maintenance (last release 849 days ago). The library is production-tested by Explosion AI and integrated into spaCy 3.7, but the long release gap means you should verify compatibility with your PyTorch and tokenizer versions before relying on it for new projects. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires PyTorch and CUDA/GPU for practical use; torch must be installed separately.
  • Minimum Python 3.9.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.

last release 2024-04-17 (849 days) · last repo commit 2024-04-17 · 891 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 924,189 downloads/mo, #4,713 on PyPI

Verify before relying

pip install curated-transformers

import torch
from curated_transformers.generation import AutoGenerator, GreedyGeneratorConfig

generator = AutoGenerator.from_hf_hub(name="tiiuae/falcon-7b-instruct", device=torch.device("cuda"))
results = generator(["What is Python?"], GreedyGeneratorConfig())
  • Whether dormant status (last release 849 days ago) indicates ongoing maintenance or de facto abandonment
  • Compatibility with recent PyTorch and transformer ecosystem versions
  • Performance characteristics compared to other transformer libraries
Same gist for agents: .md · .json

What it is and what it does

Curated Transformers is a PyTorch library that packages state-of-the-art transformer models as composable building blocks. It supports both encoder-only architectures (BERT, RoBERTa, XLM-RoBERTa) and decoder-only models (Llama, Falcon, GPT-NeoX, MPT), with generation wrappers for text generation tasks. Models load directly from Hugging Face Hub, and the library includes support for 4-bit and 8-bit quantization via bitsandbytes.

The library is designed around reusable components—a single bugfix or feature (like 4-bit inference or PyTorch meta-device support) benefits all models at once. It emphasizes type safety with full type annotations on public APIs, making it suitable for both production use and education. Explosion AI uses it in production and it serves as the default transformer backend in spaCy 3.7.

Use it for

  • Load and run inference on large language models (Llama, Falcon) from Hugging Face Hub for text generation tasks.
  • Build encoder-only models (BERT, RoBERTa) for classification, token tagging, or semantic search tasks.
  • Quantize transformer models to 4-bit or 8-bit precision to reduce memory and improve inference speed on resource-constrained hardware.
  • Compose custom transformer architectures by mixing and matching reusable encoder/decoder components.
  • Integrate transformer inference into spaCy NLP pipelines via spacy-curated-transformers.
  • Study transformer internals through well-documented, type-annotated building blocks for educational purposes.

Worth the install?

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

With conditions

Yes, with conditions.

Install if you need PyTorch transformer inference with clean, composable components and don't mind dormant maintenance (last release 849 days ago). The library is production-tested by Explosion AI and integrated into spaCy 3.7, but the long release gap means you should verify compatibility with your PyTorch and tokenizer versions before relying on it for new projects. No known security vulnerabilities.

Install

curated-transformers on PyPI

Before you install

Low install friction with a pure-Python wheel. Maintenance is dormant—last release was 849 days ago (April 2024)—but the repository remains active and the package is used in production by Explosion AI and integrated into spaCy 3.7.

Requires PyTorch and CUDA/GPU for practical use; torch must be installed separately. Minimum Python 3.9.

License in practice

MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install curated-transformers

import torch
from curated_transformers.generation import AutoGenerator, GreedyGeneratorConfig

generator = AutoGenerator.from_hf_hub(name="tiiuae/falcon-7b-instruct", device=torch.device("cuda"))
results = generator(["What is Python?"], GreedyGeneratorConfig())

Verify before relying

  • Whether dormant status (last release 849 days ago) indicates ongoing maintenance or de facto abandonment
  • Compatibility with recent PyTorch and transformer ecosystem versions
  • Performance characteristics compared to other transformer libraries

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
cataloguecurated-tokenizershuggingface-hubtokenizerstorch
MaintenanceDormant 849 days since the last release
Last repo commit
First released
Downloads924,189 / month, #4,713 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: curated_transformers-2.0.1-py2.py3-none-any.whl

Tags

Capabilities
transformer models pytorchllama falcon bert implementationhuggingface model loadingtransformer inference pytorchreusable transformer componentsquantized model inferencetext generation transformersencoder decoder models
Topics
transformer-modelsllm-inferencequantization

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 › “transformer models pytorch”

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 spacy-curated-transformers · xformers · spacy-transformers · pytorch-pretrained-bert · curated-tokenizers · llama-index-embeddings-huggingface · sentence-transformers · torchao · rotary-embedding-torch

Further reading