trl

Train transformer language models with reinforcement learning.

trl has been downloaded 57,437,290 times in total on PyPI, including 2,586,578 in the last 30 days. The latest version is 1.15.0, released Oct 8, 2026.

Version1.15.0
Downloads
57.44M
License—
AuthorLeandro von Werra
UpdatedOct 8, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal1.*0.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 107 series
Selected total20.08M
57.4MAll-time
2.6MLast 30 days
93.7kLast 24 h
0.91/sPer second

Version distribution

Share of downloads by released version. Computed over the last quarter.

  • 01

    0.24.0

    2.5M downloads
    25.5%
  • 02

    0.23.1

    1.4M downloads
    14.1%
  • 03

    1.9.2

    453.4k downloads
    4.6%
  • 04

    0.29.1

    422.5k downloads
    4.3%
  • 05

    1.13.0

    387.8k downloads
    3.9%
  • 06

    1.8.0

    348.7k downloads
    3.5%
  • 07

    1.10.0

    329.0k downloads
    3.3%
  • 08

    1.5.0

    290.7k downloads
    2.9%
  • 09

    Other

    3.8M downloads
    37.9%

Guess the next day

Thirteen recent days of trl downloads. Drag the green handle on the right to guess where day fourteen lands.

TRUTH93.7k81.8kFRISATSUNMONTUEWEDTHUFRISATSUNMONTUEWED