transformers

Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

transformers has been downloaded 2,531,338,333 times in total on PyPI, including 169,557,300 in the last 30 days. The latest version is 5.9.0, released May 20, 2026. It is distributed under the Apache 2.0 License license.

Version5.9.0
Downloads
2.53G
LicenseApache 2.0 License
AuthorThe Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors)
UpdatedMay 20, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal5.*4.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 240 series
Selected total928.39M
2.5GAll-time
169.6MLast 30 days
4.2MLast 24 h
71.33/sPer second

Version distribution

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

  • 01

    4.57.6

    46.2M downloads
    9.9%
  • 02

    5.5.0

    24.0M downloads
    5.2%
  • 03

    5.12.1

    21.0M downloads
    4.5%
  • 04

    5.9.0

    17.7M downloads
    3.8%
  • 05

    5.7.0

    11.9M downloads
    2.6%
  • 06

    5.6.2

    11.8M downloads
    2.5%
  • 07

    4.57.1

    11.2M downloads
    2.4%
  • 08

    5.5.4

    11.0M downloads
    2.4%
  • 09

    Other

    309.7M downloads
    66.7%

Guess the next day

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

TRUTH4.2M4.5MMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRISAT