The Rabbit Hole / AI / Model architectures
Allen Institute for AI · Architecture mapOlmo 3 7B
Three layers of sliding-window attention for every layer of full attention, plus YaRN to stretch the context.
Olmo 3 7B base (Olmo-3-1025-7B), October 2025 · OLMo release timeline
Inside Olmo 3 7B
Inside multi-head attention · Sliding-window layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside multi-head attention · Full-attention layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Sliding-window layers · 24 repetitions
- Attention over the last 4096 tokens. Three of every four layers, in a repeating pattern. Plain RoPE (theta 500,000), no scaling.
- Full-attention layers · 8 repetitions
- Attention over the whole context. Every fourth layer (8 of 32). The last layer is always full attention. RoPE with YaRN scaling.
- Attention and positions
- 32 query heads and 32 key/value heads. Three out of every four layers only look back 4096 tokens. Every fourth layer attends to the whole prefix.
- Memory
- Keys and values for 32 heads. Sliding-window layers need only the last 4096 tokens; full-attention layers keep everything.
A local/global OLMo
The 32 layers repeat three 4,096-token sliding-window layers followed by one global layer. All 32 query heads have separate key/value heads.
As in OLMo 2, RMSNorm acts on sublayer outputs before residual addition and QK-norm covers whole projected vectors. Global layers add YaRN scaling; local layers retain ordinary RoPE at base 500,000.
The long-context training stage reaches 65,536 tokens.
How it scores
AA Intelligence Index
Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.
| Checkpoint / size | Result | Evaluation |
|---|---|---|
| Olmo 3 7B Think | 6 | AA Index 4.3.2Published checkpoint |
Explore the components
- Embeddings: giving every token a meaning
- Residual connections: when more layers made things worse
- A whole LLM, layer by layer
- RMSNorm: keeping a token's scale under control
- Sliding-window attention (SWA): a cache that stops growing
- RoPE scaling: stretching context beyond the training length
- RoPE: position as a rotation
- Attention, from scratch
- The KV cache: why LLMs remember every key and value
- Transformer layers: attention is only half of what you need