Independent project. Not a U.S. government website.

Support our project (opens Buy Me a Coffee)
USASI
SoftwareFramework

TRL (Transformers Reinforcement Learning)

TRL (Transformers Reinforcement Learning) is a framework maintained by Hugging Face14, version 1.14.1. Its source code is public1 under the Apache License 2.03.

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 fact review: not separately recorded

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

Component reuse rights

A readable or downloadable component is not automatically reusable. These indicators concern recorded license evidence, not system certification.
weights
Unknown — no complete fact-level rights review
code
Unknown — no complete fact-level rights review
data
Unknown — no complete fact-level rights review
documentation
Unknown — no complete fact-level rights review

No complete system-rights review is recorded for this release.

Public materials checklist

Items for a framework under USASI rubric v0.2. 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

In the news

Dated, sourced updates in this catalog's news that mention this entry.
  1. · Release

    TRL 1.15.0 released with a fused LM head enabled by default

    On October 8, 2026 Hugging Face published version 1.15.0 of TRL on GitHub. The release notes say the SFT, DPO, KTO, GRPO, RLOO and Distillation trainers now score tokens with a fused LM head, a Triton kernel that avoids building the full logits tensor, and that it is on by default; scoring this way needs Triton on a GPU. The notes list breaking changes: a PEFT adapter on lm_head now raises an error, and use_liger_kernel=True is deprecated in the GRPO, RLOO, DPO and KTO trainers and will be removed in v2.0.0. The release also adds selective activation checkpointing in SFT. USASI has not tested these changes.

What this catalog does not know

Unknown means the sources reviewed for this record do not document it. It is not evidence that something does not exist.
  • Supported platforms: unknown.

Have a primary source? How to report a correction.

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

Share or cite this page

Cite this page

APA style

USASI. (2026, September 29). TRL (Transformers Reinforcement Learning). United States of America Superintelligence. https://unitedstatesofamericasuperintelligence.com/open/trl/

BibTeX

@misc{usasi_trl,
  author = {{USASI}},
  title = {TRL (Transformers Reinforcement Learning)},
  year = {2026},
  month = sep,
  howpublished = {\url{https://unitedstatesofamericasuperintelligence.com/open/trl/}},
  note = {United States of America Superintelligence. Last updated 2026-09-29}
}

The date is when this page was last updated. Add the date you read it if your style needs one.

For maintainers: a “Listed in USASI” badge

Listed in the USASI catalogLinks to this page. It says the entry is listed, not endorsed or rated. About the badge

Markdown (for a README)

[![Listed in the USASI catalog](https://unitedstatesofamericasuperintelligence.com/badges/listed.svg)](https://unitedstatesofamericasuperintelligence.com/open/trl/)

HTML

<a href="https://unitedstatesofamericasuperintelligence.com/open/trl/"><img src="https://unitedstatesofamericasuperintelligence.com/badges/listed.svg" alt="Listed in the USASI catalog" height="20"></a>

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