OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Curated Transformers

Curated Transformers is a Python library for PyTorch that provides reusable components for transformer architectures, model loading from Hugging Face Hub, and generator wrappers for supported language models.

Independent OpenViST project profile, based on linked sources.

Curated Transformers — OpenViST project profile in AI Developer Tools & SDKs.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when building a PyTorch application that needs supported transformer architectures, reusable model components, or the documented text-generation wrappers.

Who it is for

  • Python developers adding transformer models or text generation to applications.
  • Developers composing or studying transformer architecture components.
  • Teams integrating transformer models into spaCy applications through the separate integration package.

Documented uses

  • Load supported transformer models from Hugging Face Hub.
  • Generate text with supported generator wrappers.
  • Compose custom transformer architectures from reusable components.
  • Apply dynamic 4-bit or 8-bit quantization using bitsandbytes.
Before you choose

Requirements & limits

The project is open source under the MIT license and documents installation through pip.

  • The library is built for PyTorch and uses Python.
  • The supported architecture list distinguishes encoder-only models, decoder-only models and generator wrappers.
  • The example uses a CUDA device; Windows users and Linux users with Ada-generation GPUs are advised to install the CUDA 11.8 PyTorch build explicitly.
  • spaCy integration is provided by the separate spacy-curated-transformers package.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install Curated Transformers

Install the library and, if needed, select the documented CUDA 11.8 PyTorch build or quantization dependencies.

Before you start

  • Python environment with pip.
  • For Windows, or Linux with an Ada-generation GPU, install the documented CUDA 11.8 PyTorch build.

Steps

  1. Install the library with the command below.

    Documented command
    pip install curated-transformers
  2. For the noted CUDA cases, install PyTorch with the command below.

    Documented command
    pip install torch --index-url https://download.pytorch.org/whl/cu118
  3. To install dependencies for dynamic quantization, use the command below.

    Documented command
    pip install curated-transformers[quantization]

Expected outcome

The library is installed, with the documented PyTorch CUDA build or quantization dependencies selected as applicable.

Guide limitations

  • These steps cover installation only; they do not verify that a particular model or device will run.
  • Quantization uses bitsandbytes.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
16 October 2026
Original website title
explosion/curated-transformers · Official homepage title · retained in its source language