#1 · Primary category: Foundation Models
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.
Project last updated:08/29/26
GitHub Stars
164.6K
Forks
34.4K
Contributors
4.1K
License
Apache-2.0
Why we included this project
Most of the open model ecosystem builds on this Python library, so anyone working with pretrained models will likely run into it. It gives you one consistent API for loading and running thousands of checkpoints, whether the model handles text, images, audio, or several modalities at once, and swapping one model for another usually means changing a name rather than rewriting your code. The high-level pipeline classes handle preprocessing and decoding for everyday jobs such as text generation, speech recognition, and image classification, while the lower-level classes leave room for fine-tuning and custom training. Because so many training frameworks, inference engines, and adjacent tools consume the model definitions this project provides, the time you invest in learning it carries over well beyond the library itself. For teams that want to prototype quickly or standardize how they run open models, it is usually the first thing they install.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
CLIP
CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
MiniCPM-V
A Pocket-Sized MLLM for Ultra-Efficient Image and Video Understanding on Your Phone
generative-models
Generative Models by Stability AI
unilm
Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities
DeepSeek-Coder
DeepSeek Coder: Let the Code Write Itself