PyPI
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.
audiodeep-learningdeepseekgemmaglmhacktoberfestllmmachine-learning
github.com/huggingface/transformersApache-2.0The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors)27.8M / week168k · 34.9k forks · 4.2k contributors
Release cadenceEvery 3 days
Last releaseOct 30, 2026
Open advisories10
Changelog quality97% curated
GitHub Releases, gaps for some releases
Release history SecurityYou're on
122 older or filtered releases not shown.
Upgrade guides
Breaking changes and a migration checklist for each major versiontransformers 4 → 54.57.6 → 5.22.1Oct 30, 2026 BreakingBreaking127Security18Platform1Deprecated16New346Changed263Fixed1918Other825transformers 3 → 43.5.1 → 4.57.6Jan 16, 2026 BreakingBreaking71Security16Platform2Deprecated5New439Changed58Fixed4895Other355transformers 2 → 32.11.0 → 3.5.1Nov 13, 2020 Unknowntransformers 0.1 → 20.1 → 2.11.0Jun 2, 2020 Unknown
VersionChannelDateChangesSecurity
5.22.1 StableOct 30, 2026No changes listed5.22.0 StableOct 29, 2026No changes listed5.21.1 youStableOct 29, 2026No changes listed5.21.0 StableOct 26, 2026No changes listed5.20.2 StableOct 19, 2026Changed1Fixed35.20.1 StableOct 16, 2026New1Fixed55.20.0 StableOct 15, 2026Breaking7Security1Deprecated1New15Changed12Fixed44Other395.19.0 StableOct 6, 2026Breaking6Deprecated1New7Changed10Fixed15Other165.18.0 StableSep 30, 2026Breaking6Deprecated2New19Changed33Fixed116Other655.17.0 StableSep 9, 2026No notes published5.16.1 StableAug 26, 2026Security1New1Fixed15.16.0 StableAug 26, 2026Breaking3Security1New19Changed15Fixed71Other995.15.1 StableAug 19, 2026Fixed55.15.0 StableAug 10, 2026Breaking6Security1Deprecated3New23Changed51Fixed121Other975.14.1 StableJul 16, 2026Changed1Fixed35.14.0 StableJul 15, 2026Breaking2Security2New11Changed7Fixed41Other525.13.1 StableJul 11, 2026Fixed35.13.0 StableJul 3, 2026Breaking5Security1New40Changed19Fixed87Other885.12.1 StableJun 15, 2026Changed1Fixed15.12.0 StableJun 12, 2026Breaking1New7Changed1Fixed6Other12