Skip to content
StackDecode
LLM Library
Dense decoderOpen weightsArchitecture animation

Qwen2.5

A broad open family with strong coding, maths and multilingual ability.

At a glance

Made by
Alibaba
Released
2024
Type
Dense decoder
Access
Open weights
Parameters
0.5B to 72B
Context window
up to 128k tokens (larger sizes)
Attention
Grouped-query attention

How it works

Qwen2.5 offers many sizes with a standard dense decoder design and a large high-quality training set. Specialised coder and maths versions are also released.

Architecture, step by step

A token travels from text in to prediction out. The boxed layers repeat many times.

× N layersText inTokenizerEmbedding + positionNormCausal self-attentionAdd (residual)NormFeed-forward (MLP)Add (residual)Final normLM head (vocabulary scores)Softmax, then sample next token

Raw text enters the system, for example "The cat sat on the".

stage:
1/12
part:
Text in
1/12

The green dot is one token travelling through the model. The boxed section repeats for every layer.

What stands out

  • Many sizes from 0.5B to 72B
  • Strong code and maths variants
  • Mostly Apache 2.0

Keep in mind

Licences differ by size.

Related models