The Rabbit Hole / AI / Model architectures
Allen Institute for AI · Architecture mapOlmo Hybrid 7B
Olmo 3 7B with three of every four attention layers replaced by Gated DeltaNet layers, and no position encoding at all.
Olmo-Hybrid-7B base, March 2026 · OLMo release timeline
Inside Olmo Hybrid 7B
Inside linear attention · Gated DeltaNet layers
Earlier context dimmed · current token bright · dashed path carries state to the next step.
Inside multi-head attention · Full-attention layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Gated DeltaNet layers · 24 repetitions
- A Gated DeltaNet mixer (30 heads, short convolution of kernel 4), then a dense gated feed-forward network of hidden size 11008. Three of every four layers.
- Full-attention layers · 8 repetitions
- Layers 4, 8, 12 and every fourth layer after. Attention over the whole context (30 query and 30 key/value heads), with no position encoding, then a dense gated feed-forward network of hidden size 11008.
- Attention and positions
- Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).
- Memory
- Keys and values for 30 heads of size 128 in the 8 attention layers. The 24 Gated DeltaNet layers keep a fixed-size state per head (96 by 192 values) plus a short convolution state (kernel 4), which does not grow with context.
What changes from Olmo 3
The 32-layer stack repeats three Gated DeltaNet layers and one full-attention layer. It removes positional embeddings and narrows the residual width to 3,840.
- Attention keeps Olmo 3’s output-branch norms; DeltaNet layers use input norms.
- Attention has 30 heads of width 128. DeltaNet key/value heads use widths 96 and 192.
- Every layer has a dense feed-forward network of intermediate width 11,008.
The model card specifies a 65,536-token context.
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
- Gated DeltaNet: write the correction, not the whole fact
- Linear attention: a fixed-size memory instead of a growing cache
- Hybrid attention and SSM models: different kinds of memory
- NoPE: attention with no position information at all
- QK normalisation (QK-Norm) and soft-capping
- Pre-norm and post-norm: follow the residual path
- Transformer layers: attention is only half of what you need
- Gated RMSNorm: controlling the layer's output
- Attention, from scratch
- The KV cache: why LLMs remember every key and value