33rd of 433 in ML frameworks and libraries

transformers

Model-definition library for pretrained text, vision, audio and multimodal models

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
169.4k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 35 weeks+12,644
24 Mar 2026: 156,729 stars31 Mar 2026: 157,081 stars7 Apr 2026: 157,508 stars14 Apr 2026: 157,943 stars21 Apr 2026: 158,317 stars28 Apr 2026: 158,678 stars5 May 2026: 158,950 stars12 May 2026: 159,261 stars19 May 2026: 159,540 stars26 May 2026: 159,826 stars2 Jun 2026: 160,128 stars9 Jun 2026: 160,432 stars16 Jun 2026: 160,678 stars23 Jun 2026: 160,904 stars30 Jun 2026: 161,162 stars7 Jul 2026: 161,501 stars14 Jul 2026: 161,794 stars21 Jul 2026: 162,048 stars28 Jul 2026: 162,350 stars4 Aug 2026: 162,650 stars11 Aug 2026: 163,215 stars18 Aug 2026: 163,634 stars25 Aug 2026: 163,879 stars1 Sept 2026: 164,162 stars8 Sept 2026: 164,457 stars15 Sept 2026: 165,593 stars22 Sept 2026: 165,989 stars29 Sept 2026: 166,288 stars6 Oct 2026: 166,499 stars13 Oct 2026: 167,384 stars20 Oct 2026: 167,716 stars27 Oct 2026: 168,093 stars3 Nov 2026: 168,419 stars10 Nov 2026: 168,752 stars17 Nov 2026: 169,057 stars24 Nov 2026: 169,373 stars

156,729 on 24 Mar 2026169,373 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Transformers defines model architectures for text, vision, audio, video and multimodal models, and loads checkpoints from the Hugging Face Hub (README cites 1M+). It offers a high-level Pipeline API for inference, a training API built for PyTorch, and a `transformers chat` and `transformers serve` CLI. Other training frameworks and inference engines reuse its model definitions.

Who it is for: Python ML engineers and researchers running or fine-tuning open models

Strengths

  • Pipeline API covers text, audio, vision and multimodal tasks in a few lines
  • Model definitions are reused by vLLM, SGLang, TGI, Axolotl, Unsloth and DeepSpeed
  • Loads from 1M+ Hub checkpoints across hundreds of architectures
  • Apache-2.0, with frequent releases and recent commits

Weaknesses

  • Not a modular toolbox for neural nets; model files avoid shared abstractions on purpose
  • Training API targets its own PyTorch models; generic loops need Accelerate
  • Requires Python 3.11+ and PyTorch 2.6+
  • Pipeline inference is not a production server; serving needs `transformers serve` or another engine

What it needs

  • GPU optional
  • Docker
  • Needs Python 3.11+, PyTorch 2.6+, Hugging Face Hub
  • Models: PyTorch, Hugging Face Hub checkpoints

What changed

  1. “🚨 Remove the ep_router expert-parallel style (#49615) by @IlyasMoutawwakil”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Head to head

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
1ultralyticsPython library and CLI for training and running YOLO vision models63.8k starsAGPL-3.095 out of 100
2pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k starsApache-2.095 out of 100
#4supervisionPython toolkit for annotating detections, tracking and managing vision datasets Live demo ↗ (opens in a new tab)51.7k starsMIT94 out of 100
#5pytorchPython tensor library with GPU support and tape-based autograd105.7k starscustom license93 out of 100
#6korniaDifferentiable computer vision and geometry operators for PyTorch Live demo ↗ (opens in a new tab)12.5k stars+1,001 (+8.7%) in 30 daysApache-2.092 out of 100