Support for Qwen4 entered Hugging Face Transformers on December 3, 2026, the Python library that many developers use to load and run open models. The code in the pull request, opened by a project member, includes two architectures from Alibaba's next Qwen generation, one dense and one mixture-of-experts, and a usage example pointing to a checkpoint called Qwen/Qwen4-27B.
What the code contains
The added documentation describes an architecture based on Gated DeltaNet and Qwen Sparse Attention, with residual connections called GatedResidual and a dense SwiGLU feed-forward network. The examples use Qwen4ForCausalLM for text generation and Qwen4ForConditionalGeneration for image and video inputs, so the model is designed to handle visual content too.

Image: huggingface — https://github.com/huggingface/transformers/pull/51678
The same library also documents Qwen4-Exp, which describes a residual design called GR, combining Hyper-Connection and GatedNorm, that mixes multiple residual streams before each attention and mixture-of-experts block. The code does not make clear whether this belongs to the same generation or to an experimental variant.
An expected model, not yet available
This is not an announcement by Alibaba. The Qwen4 name was made official in September at the Yunqi Conference, with Max, Flash and Plus variants and a 27-billion-parameter model. In November the company launched Qwen4-Max as a paid service with closed weights, and promised that smaller models in the series will be released later, without a date. The presence of the 27-billion checkpoint in the code suggests that model is near, but does not say when it will be available.
For people running models locally, the decisive detail is different: the weights cannot yet be downloaded. Transformers support is there so the model can run as soon as it is released, but until then it exists only in the code.
Why it matters for local users
The earlier Qwen3.8-27B was published with open weights on Hugging Face under an Apache 2.0 license and can run on a single 17 GB GPU, which made this size class very popular among developers. If Qwen4-27B follows the same strategy, it will be a model usable on consumer hardware, unlike the closed flagships of the same family.
The open question remains the license and real performance, which the code does not state. Until the weights are published, the available information is what appears in the code and in the announcements already made.

No comments yet. Be the first!