huggingface/transformersPublic

🤗 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.

AI summary: State-of-the-art Machine Learning for PyTorch, TensorFlow, and JAX.

Stars
169.5K
+73 today
Forks
35.4K
Watchers
1.3K
Open issues
389
Open PRs
750
Contributors
~4.3K
Commits
25K
Branches
1.9K
Views (30d)
3

PythonApache-2.0Created Oct 29, 2018Last push todayLatest release v5.24.1+213 stars this week+1.1K this month

Quick answers

What is transformers?
State-of-the-art Machine Learning for PyTorch, TensorFlow, and JAX.
What does transformers do?
Transformers provides thousands of pretrained models to perform tasks on different modalities such as text, vision, and audio. It offers a unified API that allows researchers and engineers to easily download, train, and deploy state-of-the-art models like BERT, GPT, and ViT. The library abstracts away the complex boilerplate required for distributed training and model inference across PyTorch, TensorFlow, and JAX. It deeply integrates with the Hugging Face Hub, facilitating seamless model sharing and version control for the machine learning community. This significantly reduces the compute costs and engineering time required to implement cutting-edge AI features in production.
Who is transformers for?
Machine learning engineers, AI researchers, and software developers who need to implement state-of-the-art AI models. It requires a solid understanding of machine learning concepts and familiarity with Python deep learning frameworks.
How do I get started with transformers?
pip install transformers
How popular is transformers on GitHub?
huggingface/transformers has 169,525 stars and 35,370 forks on GitHub, and gained 213 stars in the last 7 days.
What license does transformers use?
huggingface/transformers is released under the Apache-2.0 license.

Star history

since Sep 22, 2019
050K100K150KSep 2019Feb 2022Jun 2024Dec 2026
169.5K stars as of Dec 2, 2026. Before Aug 12, 2026, reconstructed from public GitHub event archives (checked against the repository's real star total); since then measured daily.

Update history

7 recorded
  • Nov 24, 2026New release v5.24.1 (previously v5.23.0).
  • Nov 16, 2026New release v5.23.0 (previously v5.22.2).
  • Nov 8, 2026New release v5.22.2 (previously v5.22.1).
  • Oct 31, 2026New release v5.22.1 (previously v5.20.2).
  • Oct 23, 2026New release v5.20.2 (previously v5.20.0).
  • Oct 15, 2026New release v5.20.0 (previously v5.19.0).
  • Oct 7, 2026New release v5.19.0 (previously v5.17.0).

Contribution activity

commits per day, last 52 weeks
NovDecJanFebMarAprMayJunJulAugSepOctNovMonWedFri2025-11-30: 0 commits2025-12-01: 49 commits2025-12-02: 25 commits2025-12-03: 25 commits2025-12-04: 19 commits2025-12-05: 26 commits2025-12-06: 0 commits2025-12-07: 0 commits2025-12-08: 25 commits2025-12-09: 18 commits2025-12-10: 16 commits2025-12-11: 31 commits2025-12-12: 19 commits2025-12-13: 0 commits2025-12-14: 0 commits2025-12-15: 16 commits2025-12-16: 29 commits2025-12-17: 27 commits2025-12-18: 22 commits2025-12-19: 14 commits2025-12-20: 0 commits2025-12-21: 0 commits2025-12-22: 13 commits2025-12-23: 6 commits2025-12-24: 4 commits2025-12-25: 0 commits2025-12-26: 0 commits2025-12-27: 0 commits2025-12-28: 0 commits2025-12-29: 0 commits2025-12-30: 0 commits2025-12-31: 0 commits2026-01-01: 0 commits2026-01-02: 0 commits2026-01-03: 0 commits2026-01-04: 1 commit2026-01-05: 19 commits2026-01-06: 19 commits2026-01-07: 8 commits2026-01-08: 41 commits2026-01-09: 22 commits2026-01-10: 2 commits2026-01-11: 0 commits2026-01-12: 22 commits2026-01-13: 21 commits2026-01-14: 17 commits2026-01-15: 8 commits2026-01-16: 17 commits2026-01-17: 0 commits2026-01-18: 0 commits2026-01-19: 4 commits2026-01-20: 10 commits2026-01-21: 10 commits2026-01-22: 22 commits2026-01-23: 15 commits2026-01-24: 8 commits2026-01-25: 0 commits2026-01-26: 21 commits2026-01-27: 20 commits2026-01-28: 25 commits2026-01-29: 22 commits2026-01-30: 25 commits2026-01-31: 6 commits2026-02-01: 0 commits2026-02-02: 30 commits2026-02-03: 25 commits2026-02-04: 24 commits2026-02-05: 16 commits2026-02-06: 23 commits2026-02-07: 2 commits2026-02-08: 0 commits2026-02-09: 29 commits2026-02-10: 31 commits2026-02-11: 16 commits2026-02-12: 14 commits2026-02-13: 13 commits2026-02-14: 0 commits2026-02-15: 0 commits2026-02-16: 28 commits2026-02-17: 17 commits2026-02-18: 8 commits2026-02-19: 10 commits2026-02-20: 15 commits2026-02-21: 3 commits2026-02-22: 0 commits2026-02-23: 22 commits2026-02-24: 22 commits2026-02-25: 10 commits2026-02-26: 10 commits2026-02-27: 22 commits2026-02-28: 1 commit2026-03-01: 0 commits2026-03-02: 16 commits2026-03-03: 14 commits2026-03-04: 24 commits2026-03-05: 20 commits2026-03-06: 11 commits2026-03-07: 0 commits2026-03-08: 1 commit2026-03-09: 35 commits2026-03-10: 14 commits2026-03-11: 24 commits2026-03-12: 18 commits2026-03-13: 20 commits2026-03-14: 4 commits2026-03-15: 1 commit2026-03-16: 30 commits2026-03-17: 12 commits2026-03-18: 24 commits2026-03-19: 18 commits2026-03-20: 24 commits2026-03-21: 5 commits2026-03-22: 3 commits2026-03-23: 13 commits2026-03-24: 19 commits2026-03-25: 12 commits2026-03-26: 22 commits2026-03-27: 24 commits2026-03-28: 1 commit2026-03-29: 0 commits2026-03-30: 15 commits2026-03-31: 19 commits2026-04-01: 8 commits2026-04-02: 29 commits2026-04-03: 10 commits2026-04-04: 4 commits2026-04-05: 2 commits2026-04-06: 4 commits2026-04-07: 4 commits2026-04-08: 7 commits2026-04-09: 24 commits2026-04-10: 27 commits2026-04-11: 0 commits2026-04-12: 0 commits2026-04-13: 28 commits2026-04-14: 12 commits2026-04-15: 19 commits2026-04-16: 9 commits2026-04-17: 9 commits2026-04-18: 0 commits2026-04-19: 0 commits2026-04-20: 21 commits2026-04-21: 12 commits2026-04-22: 37 commits2026-04-23: 20 commits2026-04-24: 13 commits2026-04-25: 0 commits2026-04-26: 0 commits2026-04-27: 22 commits2026-04-28: 18 commits2026-04-29: 12 commits2026-04-30: 8 commits2026-05-01: 4 commits2026-05-02: 2 commits2026-05-03: 1 commit2026-05-04: 9 commits2026-05-05: 18 commits2026-05-06: 8 commits2026-05-07: 13 commits2026-05-08: 14 commits2026-05-09: 0 commits2026-05-10: 2 commits2026-05-11: 15 commits2026-05-12: 19 commits2026-05-13: 18 commits2026-05-14: 17 commits2026-05-15: 7 commits2026-05-16: 1 commit2026-05-17: 1 commit2026-05-18: 18 commits2026-05-19: 21 commits2026-05-20: 18 commits2026-05-21: 2 commits2026-05-22: 0 commits2026-05-23: 0 commits2026-05-24: 0 commits2026-05-25: 14 commits2026-05-26: 12 commits2026-05-27: 15 commits2026-05-28: 21 commits2026-05-29: 14 commits2026-05-30: 1 commit2026-05-31: 0 commits2026-06-01: 13 commits2026-06-02: 24 commits2026-06-03: 16 commits2026-06-04: 16 commits2026-06-05: 19 commits2026-06-06: 2 commits2026-06-07: 0 commits2026-06-08: 20 commits2026-06-09: 11 commits2026-06-10: 9 commits2026-06-11: 19 commits2026-06-12: 20 commits2026-06-13: 1 commit2026-06-14: 0 commits2026-06-15: 16 commits2026-06-16: 16 commits2026-06-17: 17 commits2026-06-18: 8 commits2026-06-19: 23 commits2026-06-20: 2 commits2026-06-21: 1 commit2026-06-22: 13 commits2026-06-23: 16 commits2026-06-24: 22 commits2026-06-25: 14 commits2026-06-26: 17 commits2026-06-27: 3 commits2026-06-28: 2 commits2026-06-29: 18 commits2026-06-30: 7 commits2026-07-01: 11 commits2026-07-02: 8 commits2026-07-03: 19 commits2026-07-04: 0 commits2026-07-05: 0 commits2026-07-06: 10 commits2026-07-07: 23 commits2026-07-08: 18 commits2026-07-09: 27 commits2026-07-10: 16 commits2026-07-11: 2 commits2026-07-12: 0 commits2026-07-13: 11 commits2026-07-14: 9 commits2026-07-15: 15 commits2026-07-16: 18 commits2026-07-17: 16 commits2026-07-18: 0 commits2026-07-19: 0 commits2026-07-20: 11 commits2026-07-21: 14 commits2026-07-22: 21 commits2026-07-23: 22 commits2026-07-24: 13 commits2026-07-25: 4 commits2026-07-26: 0 commits2026-07-27: 16 commits2026-07-28: 15 commits2026-07-29: 22 commits2026-07-30: 16 commits2026-07-31: 24 commits2026-08-01: 2 commits2026-08-02: 0 commits2026-08-03: 12 commits2026-08-04: 24 commits2026-08-05: 17 commits2026-08-06: 11 commits2026-08-07: 6 commits2026-08-08: 4 commits2026-08-09: 1 commit2026-08-10: 22 commits2026-08-11: 8 commits2026-08-12: 4 commits2026-08-13: 4 commits2026-08-14: 19 commits2026-08-15: 5 commits2026-08-16: 3 commits2026-08-17: 17 commits2026-08-18: 29 commits2026-08-19: 15 commits2026-08-20: 14 commits2026-08-21: 21 commits2026-08-22: 0 commits2026-08-23: 1 commit2026-08-24: 11 commits2026-08-25: 21 commits2026-08-26: 28 commits2026-08-27: 20 commits2026-08-28: 16 commits2026-08-29: 1 commit2026-08-30: 0 commits2026-08-31: 13 commits2026-09-01: 23 commits2026-09-02: 20 commits2026-09-03: 16 commits2026-09-04: 18 commits2026-09-05: 2 commits2026-09-06: 0 commits2026-09-07: 22 commits2026-09-08: 19 commits2026-09-09: 15 commits2026-09-10: 20 commits2026-09-11: 15 commits2026-09-12: 6 commits2026-09-13: 1 commit2026-09-14: 22 commits2026-09-15: 19 commits2026-09-16: 16 commits2026-09-17: 32 commits2026-09-18: 21 commits2026-09-19: 0 commits2026-09-20: 0 commits2026-09-21: 28 commits2026-09-22: 18 commits2026-09-23: 24 commits2026-09-24: 16 commits2026-09-25: 18 commits2026-09-26: 1 commit2026-09-27: 1 commit2026-09-28: 6 commits2026-09-29: 11 commits2026-09-30: 9 commits2026-10-01: 13 commits2026-10-02: 14 commits2026-10-03: 1 commit2026-10-04: 0 commits2026-10-05: 20 commits2026-10-06: 36 commits2026-10-07: 8 commits2026-10-08: 19 commits2026-10-09: 20 commits2026-10-10: 0 commits2026-10-11: 2 commits2026-10-12: 18 commits2026-10-13: 25 commits2026-10-14: 28 commits2026-10-15: 33 commits2026-10-16: 23 commits2026-10-17: 1 commit2026-10-18: 2 commits2026-10-19: 28 commits2026-10-20: 41 commits2026-10-21: 30 commits2026-10-22: 37 commits2026-10-23: 15 commits2026-10-24: 0 commits2026-10-25: 1 commit2026-10-26: 18 commits2026-10-27: 38 commits2026-10-28: 15 commits2026-10-29: 28 commits2026-10-30: 45 commits2026-10-31: 1 commit2026-11-01: 0 commits2026-11-02: 32 commits2026-11-03: 34 commits2026-11-04: 23 commits2026-11-05: 17 commits2026-11-06: 36 commits2026-11-07: 1 commit2026-11-08: 2 commits2026-11-09: 24 commits2026-11-10: 35 commits2026-11-11: 12 commits2026-11-12: 49 commits2026-11-13: 13 commits2026-11-14: 1 commit2026-11-15: 8 commits2026-11-16: 51 commits2026-11-17: 51 commits2026-11-18: 37 commits2026-11-19: 41 commits2026-11-20: 37 commits2026-11-21: 3 commits2026-11-22: 4 commits2026-11-23: 35 commits2026-11-24: 35 commits2026-11-25: 0 commits2026-11-26: 0 commits2026-11-27: 0 commits2026-11-28: 0 commits
4,902 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Landmark project

    169,525 stars

  • Battle-tested

    8 years of history

  • Very active

    4,902 commits in 52 weeks

  • Community-driven

    ~4,284 contributors

  • Well documented

    High community health score

  • Permissive license

    Apache-2.0

  • Continuous integration

    Automated checks passing

  • Repeat trending

    9 trending appearances

What transformers does

Transformers provides thousands of pretrained models to perform tasks on different modalities such as text, vision, and audio. It offers a unified API that allows researchers and engineers to easily download, train, and deploy state-of-the-art models like BERT, GPT, and ViT. The library abstracts away the complex boilerplate required for distributed training and model inference across PyTorch, TensorFlow, and JAX. It deeply integrates with the Hugging Face Hub, facilitating seamless model sharing and version control for the machine learning community. This significantly reduces the compute costs and engineering time required to implement cutting-edge AI features in production.

Machine learning engineers, AI researchers, and software developers who need to implement state-of-the-art AI models. It requires a solid understanding of machine learning concepts and familiarity with Python deep learning frameworks.

  • Unified API framework: Provides a consistent, simple interface to load and utilize thousands of different transformer architectures.
  • Multi-framework compatibility: Supports seamless interoperability and model conversion between PyTorch, TensorFlow, and JAX.
  • Pretrained model hub: Integrates directly with the Hugging Face Hub to instantly download state-of-the-art weights for NLP, vision, and audio.
  • Optimized training pipelines: Includes built-in classes like the Trainer API to drastically simplify distributed training and fine-tuning loops.
  • Extensive modality support: Handles complex multi-modal tasks including text classification, image segmentation, and automatic speech recognition.

Where teams use it

Natural Language Processing

Deploy state-of-the-art text classification, summarization, and translation models directly into production applications with minimal code.

Model Fine-Tuning

Fine-tune massive pre-trained language models on proprietary, domain-specific datasets using optimized training pipelines.

Computer Vision Integration

Implement cutting-edge Vision Transformers for image classification or object detection without writing custom PyTorch architectures.

Cross-Framework Migration

Train a complex transformer model in PyTorch and easily export the weights for deployment in a highly optimized TensorFlow environment.

Getting started: pip install transformers

README

main branch

Hugging Face Transformers Library

Checkpoints on Hub Build GitHub Documentation GitHub release Contributor Covenant DOI

State-of-the-art pretrained models for inference and training

Transformers is the model-definition framework for machine learning models in text, computer vision, audio, video, and multimodal tasks. It defines each model once, in PyTorch, and you use that definition for both inference and training.

Training frameworks, inference engines, and local runtimes build on that definition instead of writing their own. Transformers adds new architectures as they're released and matches each one to its original results, so those tools get each new model as soon as it's added.

Unsloth
Fine-tune with less memory. Unsloth trains LLMs in 4-bit, 8-bit, and 16-bit precision with custom kernels.
vLLM
Serve LLMs at scale. vLLM batches requests continuously and keeps KV cache memory compact with PagedAttention.
SGLang
Serve LLMs with low latency. SGLang is a high-throughput inference engine with a frontend language for agentic workflows.
llama.cpp
Run LLMs locally without Python. llama.cpp is a C/C++ inference engine that runs quantized models in the GGUF format.

Transformers standardizes how every model is written, so hundreds of architectures share one structure. Each model is one file that reads from top to bottom and stays simple without giving up performance. An improvement made once reaches every architecture, so if you find one, contribute it.

Transformers is designed to be read and modified by humans and coding agents alike. To swap how a model computes, register your own attention or experts function, or load an optimized kernel from the Hub, and the model uses it without edits to its code.

Try a model

Install Transformers with PyTorch. See the Installation guide for other setups.

uv pip install "transformers[torch]"

Create a Pipeline with a chat model from the Hugging Face Hub and pass it a message.

from transformers import pipeline

pipe = pipeline(task="text-generation", model="Qwen/Qwen3-0.6B")
messages = [
    {"role": "user", "content": "What's the secret to baking a really good cake? Answer in one sentence."},
]
output = pipe(messages, tokenizer_encode_kwargs={"enable_thinking": False})
print(output[0]["generated_text"][-1]["content"])
# The secret to baking a really good cake is combining the perfect balance of ingredients, technique, and a warm, loving atmosphere.

The Quickstart covers loading models, running inference on other tasks, and training.

Set up your coding agent

Copy the prompt below into your coding agent. It has the agent check your installed version, read the docs for that version, and use the current Transformers v5 APIs.

I'm building with Hugging Face Transformers. Before you write any Transformers code:

1. Check the installed version with `python -c "import transformers; print(transformers.__version__)"`. If Transformers isn't installed, install it with `pip install "transformers[torch]"`.
2. Read the docs index for that version at https://huggingface.co/docs/transformers/v<version>/llms.txt, for example v5.22.2. For a .dev version, use https://huggingface.co/docs/transformers/main/llms.txt. Add .md to any docs page URL to read it as Markdown. Look up each class and argument there instead of relying on memory.
3. If the version is 5.0 or later, read https://github.com/huggingface/transformers/blob/main/MIGRATION_GUIDE_V5.md. Don't use APIs from older versions.
4. Read the model card of each model you use on the Hugging Face Hub. Many models need specific arguments, like a chat template option or a minimum Transformers version.

Run inference

Load a pretrained model and run it on text, images, audio, video, or any combination of modalities.

  • Pipeline: Preprocess the input, run the model, and postprocess the output for a task with one class.
  • Text generation: Generate text with LLMs and VLMs, and control the decoding strategy and streaming.
  • Chat with models: Start a chat in your terminal with transformers chat, or pass a chat history to a pipeline.

Serve models

Serve a model to other applications over HTTP. transformers serve is for evaluation, experimentation, and moderate load. For large production deployments, use an inference engine with a Transformers model as the backend.

  • Serve CLI: Start a local server compatible with the OpenAI SDK with transformers serve.
  • Continuous batching: Raise throughput by adding new requests to the batch as other requests finish.
  • Inference engines: Use a Transformers model as the backend for vLLM or SGLang.

Train models

Fine-tune a pretrained model on your data, on one GPU or many.

  • Trainer: Run the training loop with support for mixed precision and torch.compile.
  • PEFT: Train a small adapter instead of all of a model's weights.
  • FSDP: Shard a model's parameters across GPUs to train models that don't fit on one.
  • Tensor parallelism: Split each weight matrix across GPUs so every GPU computes part of each layer.
  • Expert parallelism: Place the experts of a mixture-of-experts model on different GPUs and route tokens to them.

Use less memory and run faster

Fit a model on your hardware and speed it up.

  • Quantization: Store weights in fewer bits so a model needs less memory.
  • Kernels: Load precompiled operations for your hardware from the Hub.
  • Attention backends: Switch between attention implementations without changing the model.

Add or change a model

Add a model to Transformers or edit an existing one.

  • Modular Transformers: Add a model by inheriting from existing models. A converter generates the standalone file.
  • Model structure rules: Follow the conventions a checker enforces on every modeling, modular, and configuration file.
  • Writing model tests: Write a small amount of model-specific test code, and the test mixins generate more than 100 tests from it.

Citation

We now have a paper you can cite for the 🤗 Transformers library:

@inproceedings{wolf-etal-2020-transformers,
    title = "Transformers: State-of-the-Art Natural Language Processing",
    author = "Thomas Wolf and Lysandre Debut and Victor Sanh and Julien Chaumond and Clement Delangue and Anthony Moi and Pierric Cistac and Tim Rault and Rémi Louf and Morgan Funtowicz and Joe Davison and Sam Shleifer and Patrick von Platen and Clara Ma and Yacine Jernite and Julien Plu and Canwen Xu and Teven Le Scao and Sylvain Gugger and Mariama Drame and Quentin Lhoest and Alexander M. Rush",
    booktitle = "Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations",
    month = oct,
    year = "2020",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2020.emnlp-demos.6/",
    pages = "38--45"
}
View on GitHub

Recent activity

commits and pull requests

Releases and announcements

285 total
  1. Patch release v5.24.1v5.24.1Nov 24, 2026

    # Patch release v5.24.1 A patch to fix a bunch of stuff for vLLM, a few distributed issues, and some model fixes (llama4, dory); see the full list ### vLLM related - Fix backward compatibility of the cache rename for remote code (#51085) by @hmellor - Restore modeling_attn_mask_utils for remote code (one-off to unblock vLLM) (#51124) by @hmellor - Expose past_key_values in MBartDecoderLayer.forward signature for remote code (#51177) by @hmellor - [OmniASR] Support a padding_mask kept on the CPU in the audio encoder (#51100) by @El-euchidali ### Model fixes - Fix Llama4 forward crash on missing image_outputs (#51144) by @kylesayrs - Fix dory static cache (#50993) by @ArthurZucker ### Distributed - Allow expert parallelism alone with tp_plan={} (#50996) by @3outeille - Fix strided checkpoint reads on PyTorch 2.9 (#51042) by @satsuki2486441738 **Full Changelog**: https://github.com/huggingface/transformers/compare/v5.24.0...v5.24.1

  2. Release v5.24.0v5.24.0Nov 21, 2026

    # Release v5.24.0 ## New Model additions ### Inkling 2 Mini <img width="80%" alt="image" src="https://github.com/user-attachments/assets/beefb5e0-39a9-4205-ab07-0ee707af95f2" /> Inkling 2 Mini is a multimodal model from Thinking Machines Lab that accepts text and image inputs and generates text outputs. It is a smaller sibling of Inkling 2 Small, added in v5.23.0. It has 24 decoder layers instead of 48, and compensates with a looping mechanism in which layers 6 to 17 run three times. A learned message-passing mechanism mixes the residuals of the previous pass into the attention and mixture-of-experts inputs of each loop layer. The decoder has a hidden size of 2304 and routes each token to 8 of 128 experts. The image encoder, tokenizer and processor are the same as Inkling 2 Small's. A research checkpoint ([TML-d24-varloop-research](https://huggingface.co/thinkingmachines/TML-d24-varloop-research)) has the same architecture but supports a variable number of loop passes. Fewer passes are faster, and more passes improve quality. Both checkpoints contain NVFP4 and MXFP8 quantized layers, which are dequantized at load time. **Links:** [Documentation](https://huggingfac

  3. Release v5.23.0v5.23.0Nov 13, 2026

    # Release v5.23.0 ## New Model additions ### Inkling2 <img width="1200" height="675" alt="image" src="https://github.com/user-attachments/assets/9115e142-1be3-4f79-a51d-ea0e5c25b152" /> Inkling 2 Small is a multimodal model from Thinking Machines Lab that accepts text and image inputs and generates text outputs, and it is intended for use in English and other languages and across multiple coding languages. Its language backbone has 48 mixture-of-experts decoder layers, each routing tokens to 8 of 384 experts, for 594B total and 17B active parameters. It keeps the Inkling decoder (learned relative attention, short causal convolutions, mixture-of-experts layers) and adds block attention residuals, gated attention with a learned sink, and dynamic key/value convolutions. Images are encoded by a Perception Encoder-based vision transformer and projected into the language model embeddings, one embedding per 40x40 pixel patch. **Links:** [Documentation](https://huggingface.co/docs/transformers/main/en/model_doc/inkling2) | [Blog Post](https://thinkingmachines.ai/news/inkling-2-small/) * Add inkling2 (#50682) by @guarin in [#50682](https://github.com/huggingface/transforme

  4. Patch release v5.22.2v5.22.2Nov 6, 2026

    # Patch release v5.22.2 Some in between patch for security and distributed fixes. See the included commits :hugs: - [Distributed] Set device_id only for NCCL (#50281) by @michaelbenayoun and @3outeille - Harden our Jinja sandboxing (#50431) by @Rocketknight1 **Full Changelog**: https://github.com/huggingface/transformers/compare/v5.22.1...v5.22.2

  5. Patch release v5.22.1v5.22.1Oct 30, 2026

    # Patch release v5.22.1 We just had to fix the documentation! ** [Fix] Remove WIP doc for Ml4 (https://github.com/huggingface/transformers/pull/50124) from @remi-or

Commits per week

last 52 weeks
2280Week of 2025-11-30: 144 commitsWeek of 2025-12-07: 109 commitsWeek of 2025-12-14: 108 commitsWeek of 2025-12-21: 23 commitsWeek of 2025-12-28: 0 commitsWeek of 2026-01-04: 112 commitsWeek of 2026-01-11: 85 commitsWeek of 2026-01-18: 69 commitsWeek of 2026-01-25: 119 commitsWeek of 2026-02-01: 120 commitsWeek of 2026-02-08: 103 commitsWeek of 2026-02-15: 81 commitsWeek of 2026-02-22: 87 commitsWeek of 2026-03-01: 85 commitsWeek of 2026-03-08: 116 commitsWeek of 2026-03-15: 114 commitsWeek of 2026-03-22: 94 commitsWeek of 2026-03-29: 85 commitsWeek of 2026-04-05: 68 commitsWeek of 2026-04-12: 77 commitsWeek of 2026-04-19: 103 commitsWeek of 2026-04-26: 66 commitsWeek of 2026-05-03: 63 commitsWeek of 2026-05-10: 79 commitsWeek of 2026-05-17: 60 commitsWeek of 2026-05-24: 77 commitsWeek of 2026-05-31: 90 commitsWeek of 2026-06-07: 80 commitsWeek of 2026-06-14: 82 commitsWeek of 2026-06-21: 86 commitsWeek of 2026-06-28: 65 commitsWeek of 2026-07-05: 96 commitsWeek of 2026-07-12: 69 commitsWeek of 2026-07-19: 85 commitsWeek of 2026-07-26: 95 commitsWeek of 2026-08-02: 74 commitsWeek of 2026-08-09: 63 commitsWeek of 2026-08-16: 99 commitsWeek of 2026-08-23: 98 commitsWeek of 2026-08-30: 92 commitsWeek of 2026-09-06: 97 commitsWeek of 2026-09-13: 111 commitsWeek of 2026-09-20: 105 commitsWeek of 2026-09-27: 55 commitsWeek of 2026-10-04: 103 commitsWeek of 2026-10-11: 130 commitsWeek of 2026-10-18: 153 commitsWeek of 2026-10-25: 146 commitsWeek of 2026-11-01: 143 commitsWeek of 2026-11-08: 136 commitsWeek of 2026-11-15: 228 commitsWeek of 2026-11-22: 74 commitsNov 30, 2025Nov 22, 2026
4.9K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 3 commitsSun 1:00 — 2 commitsSun 2:00 — 3 commitsSun 3:00 — 3 commitsSun 4:00 — 5 commitsSun 5:00 — 0 commitsSun 6:00 — 3 commitsSun 7:00 — 2 commitsSun 8:00 — 2 commitsSun 9:00 — 6 commitsSun 10:00 — 7 commitsSun 11:00 — 6 commitsSun 12:00 — 8 commitsSun 13:00 — 11 commitsSun 14:00 — 4 commitsSun 15:00 — 14 commitsSun 16:00 — 18 commitsSun 17:00 — 15 commitsSun 18:00 — 18 commitsSun 19:00 — 14 commitsSun 20:00 — 9 commitsSun 21:00 — 8 commitsSun 22:00 — 10 commitsSun 23:00 — 8 commitsMon 0:00 — 26 commitsMon 1:00 — 24 commitsMon 2:00 — 29 commitsMon 3:00 — 31 commitsMon 4:00 — 41 commitsMon 5:00 — 44 commitsMon 6:00 — 55 commitsMon 7:00 — 69 commitsMon 8:00 — 131 commitsMon 9:00 — 170 commitsMon 10:00 — 272 commitsMon 11:00 — 270 commitsMon 12:00 — 236 commitsMon 13:00 — 272 commitsMon 14:00 — 290 commitsMon 15:00 — 320 commitsMon 16:00 — 355 commitsMon 17:00 — 306 commitsMon 18:00 — 286 commitsMon 19:00 — 230 commitsMon 20:00 — 167 commitsMon 21:00 — 167 commitsMon 22:00 — 153 commitsMon 23:00 — 95 commitsTue 0:00 — 89 commitsTue 1:00 — 73 commitsTue 2:00 — 66 commitsTue 3:00 — 52 commitsTue 4:00 — 40 commitsTue 5:00 — 49 commitsTue 6:00 — 67 commitsTue 7:00 — 68 commitsTue 8:00 — 127 commitsTue 9:00 — 220 commitsTue 10:00 — 283 commitsTue 11:00 — 290 commitsTue 12:00 — 240 commitsTue 13:00 — 280 commitsTue 14:00 — 298 commitsTue 15:00 — 319 commitsTue 16:00 — 306 commitsTue 17:00 — 327 commitsTue 18:00 — 290 commitsTue 19:00 — 172 commitsTue 20:00 — 141 commitsTue 21:00 — 130 commitsTue 22:00 — 138 commitsTue 23:00 — 92 commitsWed 0:00 — 83 commitsWed 1:00 — 77 commitsWed 2:00 — 51 commitsWed 3:00 — 66 commitsWed 4:00 — 60 commitsWed 5:00 — 43 commitsWed 6:00 — 53 commitsWed 7:00 — 88 commitsWed 8:00 — 120 commitsWed 9:00 — 250 commitsWed 10:00 — 244 commitsWed 11:00 — 282 commitsWed 12:00 — 220 commitsWed 13:00 — 200 commitsWed 14:00 — 325 commitsWed 15:00 — 294 commitsWed 16:00 — 317 commitsWed 17:00 — 304 commitsWed 18:00 — 266 commitsWed 19:00 — 186 commitsWed 20:00 — 158 commitsWed 21:00 — 131 commitsWed 22:00 — 110 commitsWed 23:00 — 99 commitsThu 0:00 — 98 commitsThu 1:00 — 77 commitsThu 2:00 — 57 commitsThu 3:00 — 50 commitsThu 4:00 — 48 commitsThu 5:00 — 47 commitsThu 6:00 — 55 commitsThu 7:00 — 69 commitsThu 8:00 — 102 commitsThu 9:00 — 213 commitsThu 10:00 — 258 commitsThu 11:00 — 288 commitsThu 12:00 — 245 commitsThu 13:00 — 222 commitsThu 14:00 — 313 commitsThu 15:00 — 335 commitsThu 16:00 — 286 commitsThu 17:00 — 314 commitsThu 18:00 — 220 commitsThu 19:00 — 165 commitsThu 20:00 — 120 commitsThu 21:00 — 111 commitsThu 22:00 — 112 commitsThu 23:00 — 78 commitsFri 0:00 — 62 commitsFri 1:00 — 54 commitsFri 2:00 — 51 commitsFri 3:00 — 48 commitsFri 4:00 — 39 commitsFri 5:00 — 39 commitsFri 6:00 — 36 commitsFri 7:00 — 50 commitsFri 8:00 — 92 commitsFri 9:00 — 175 commitsFri 10:00 — 214 commitsFri 11:00 — 247 commitsFri 12:00 — 241 commitsFri 13:00 — 215 commitsFri 14:00 — 245 commitsFri 15:00 — 282 commitsFri 16:00 — 284 commitsFri 17:00 — 241 commitsFri 18:00 — 216 commitsFri 19:00 — 150 commitsFri 20:00 — 119 commitsFri 21:00 — 101 commitsFri 22:00 — 92 commitsFri 23:00 — 82 commitsSat 0:00 — 42 commitsSat 1:00 — 25 commitsSat 2:00 — 30 commitsSat 3:00 — 17 commitsSat 4:00 — 12 commitsSat 5:00 — 9 commitsSat 6:00 — 8 commitsSat 7:00 — 8 commitsSat 8:00 — 12 commitsSat 9:00 — 17 commitsSat 10:00 — 11 commitsSat 11:00 — 16 commitsSat 12:00 — 11 commitsSat 13:00 — 5 commitsSat 14:00 — 10 commitsSat 15:00 — 10 commitsSat 16:00 — 18 commitsSat 17:00 — 8 commitsSat 18:00 — 10 commitsSat 19:00 — 17 commitsSat 20:00 — 10 commitsSat 21:00 — 12 commitsSat 22:00 — 16 commitsSat 23:00 — 6 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.
DateListRankStars gained
Oct 11, 2026daily#8+94
Oct 10, 2026daily#8+94
Sep 20, 2026weekly#17+1,297
Sep 19, 2026weekly#17+1,297
Sep 15, 2026daily#13+152
Sep 14, 2026daily#13+152
Sep 13, 2026daily#15+102
Aug 13, 2026daily#10+80
Aug 12, 2026daily#10+80
  • public-apis/public-apis

    A collective list of free APIs

    502.6K stars · Python

  • morluto/rea

    Reverse engineer anything with agents, from app behavior down to native binaries.

    486.9K stars · TypeScript

  • donnemartin/system-design-primer

    Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

    380.1K stars · Python

  • affaan-m/ECC

    The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

    315K stars · JavaScript

  • practical-tutorials/project-based-learning

    Curated list of project-based tutorials

    290.9K stars · Python

  • NousResearch/hermes-agent

    The agent that grows with you

    267.7K stars · Python