GitHub · Repo
huggingface/ transformers
Stars
169,280
+7 · 7 d
Forks
35,282
Language
Python
Latest release
v5.24.0
November 21, 2026
Original introduction
From the README · huggingface/transformers · Licence Apache-2.0
Transformers acts as the model-definition framework for state-of-the-art machine learning with text, computer vision, audio, video, and multimodal models, for both inference and training.
It centralizes the model definition so that this definition is agreed upon across the ecosystem. transformers is the pivot across frameworks: if a model definition is supported, it will be compatible with the majority of training frameworks (Axolotl, Unsloth, DeepSpeed, FSDP, PyTorch-Lightning,...), inference engines (vLLM, SGLang, TGI,...), and adjacent modeling libraries (llama.cpp, mlx,...) which leverage the model definition from transformers.
We pledge to help support new state-of-the-art models and democratize their usage by having their model definition be simple, customizable, and efficient.
Latest release
November 21, 2026
Original text · release notes · huggingface/transformers
Inkling 2 Mini
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. …
Continue reading at huggingface/transformers (opens in a new tab)