Skip to content
The Internet Compass

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.

machine-learningnlppythonpytorchtransformerllmvlmdeep-learning
v5.16.1Apache 2.0 License21.7M downloads/weekView on PyPI ↗

Security

52 known advisories

From the Open Source Vulnerabilities (OSV) database — most recent: GHSA-282v-666c-3fvg. Check the advisory before using this version in production.

Sourced from PyPI · Updated September 6, 2026

Package metadata from the Python Package Index (PyPI).

View original source ↗Spot an error on this page? Let us know →

FAQ

Common questions

What is 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.

Is transformers safe to use?

transformers has 52 known advisories in the OSV database — check before using this version in production.

How popular is transformers?

transformers gets about 21.7M downloads per week on PyPI.

What license does transformers use?

transformers is licensed under Apache 2.0 License.