Skip to content
StackDecode
LLM Library
Dense decoderFully openArchitecture animation

OLMo 2

A fully open model: weights, data, code and logs are all public.

At a glance

Made by
Allen Institute for AI
Released
2024
Type
Dense decoder
Access
Fully open
Parameters
7B, 13B (32B later)
Context window
4,096 tokens
Attention
Multi-head attention with QK-norm

How it works

OLMo 2 makes the whole training process inspectable. It uses reordered normalisation and QK-norm for stable training.

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

  • Open data and training code
  • Stability tricks documented
  • Good for research and teaching

Keep in mind

Smaller and less capable than the biggest open-weight models.

Related models