USASI
SoftwareFramework

TRL (Transformers Reinforcement Learning)

Version 1.14.1

Maintained by Hugging Face14

TRL is Hugging Face's open-source library for post-training transformer language models. It provides trainer classes for methods including supervised fine-tuning (SFT), Group Relative Policy Optimization (GRPO), Direct Preference Optimization (DPO), KTO, and reward modeling, with further methods marked experimental, and it is built on the Transformers library.42

Last reviewedEntry updated Documented release Unknown

Availability and license

Overall availability

Public

Source code on GitHub under the Apache License 2.0; installable from PyPI with pip or uv.135

Availability is separate from permission: read the license before using or redistributing.

Public materials checklist

Items for a framework under USASI rubric v0.1. Unknown means unassessed or insufficient evidence.
Public materials checklist for TRL (Transformers Reinforcement Learning)
ItemStatusNotes and evidence
Source codeIs the source code publicly readable?Public1
DocumentationIs user documentation published?PublicThe documentation covers installation, quickstart, conceptual and how-to guides, integrations (for example DeepSpeed, Liger Kernel, PEFT), and API references.4
InstallationAre installation instructions or packages publicly available?PublicDocumented installation from PyPI with pip or uv, or from source.5
Supported platformsAre supported operating systems or hardware documented?UnknownNot assessed.
Release statusAre versioned releases published?PublicVersioned releases are published on GitHub; v1.14.1 was published on 2026-09-29.6

What it is useful for

Fine-tuning and aligning language models on custom datasets, from a single GPU to multi-node setups, including parameter-efficient training through PEFT (LoRA/QLoRA) and a command-line interface for training without writing code.2

Run and use notes

Documented facts only. No hardware or performance claims are made without a cited source and stated assumptions.
  • The README states that each TRL trainer wraps the Transformers trainer and supports distributed training methods such as DDP, DeepSpeed ZeRO, and FSDP, using Accelerate to scale from one GPU to multi-node clusters.2

Organization context

U.S. eligibility

Project eligibility rests on documented governing or maintaining entities, not on contributors.

Eligible · basis: U.S.-governed project

TRL is developed in Hugging Face's GitHub organization and documented on Hugging Face's documentation site. Hugging Face's terms of service identify Hugging Face, Inc., a Delaware corporation, as the provider of its services, under New York law and courts, and its privacy policy states that the company and its servers are located in the United States (the French entity is named as its EU main establishment). See the hugging-face organization record for the full dual-country assessment.1478

Assessed Sep 29, 2026

Sources

  1. 1.
    huggingface/trl (external site: github.com)

    Hugging Face · Repository · accessed Sep 29, 2026

  2. 2.
    TRL README (external site: raw.githubusercontent.com)

    Hugging Face · Documentation · accessed Sep 29, 2026

  3. 3.
    TRL LICENSE (external site: raw.githubusercontent.com)

    Hugging Face · License · accessed Sep 29, 2026

  4. 4.
  5. 5.
    Installation (TRL documentation) (external site: huggingface.co)

    Hugging Face · Documentation · accessed Sep 29, 2026

  6. 6.
    Release v1.14.1 · huggingface/trl (external site: github.com)

    Hugging Face · Release notes · published Sep 29, 2026 · accessed Sep 29, 2026

  7. 7.
    Terms of Service (external site: huggingface.co)

    Hugging Face · Official page · accessed Sep 29, 2026

  8. 8.
    Hugging Face Privacy Policy (external site: huggingface.co)

    Hugging Face · Official page · accessed Sep 29, 2026

This listing is not an endorsement, a safety assessment, or a federal approval.

Support Us

Help keep USASI useful.

Optional. No USASI account required. Payment takes place on the linked provider’s website (Buy Me a Coffee).

About supporting this project