Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Technology Innovation Institute · Architecture map

Falcon3 7B

A 28-layer dense transformer with 256-coordinate attention heads and a wide feed-forward network.

Falcon3-7B-Base, December 2024 · Falcon release timeline

Inside Falcon3 7B

Parameters
7B
Layers
28
Width
3,072
Mixer
Grouped-query
Select a component to explore it.
Inside grouped-query attention · Transformer layers 1–28
3 query heads per group × 4 K/V groups.

Earlier context dimmed · current token bright · dashed regions contain cached entries.

Falcon3 7B: Transformer layers 1–28 · grouped-query attention12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042. Keys and values for 4 heads of size 256, per token per layer.4 KV groups; the front face shows one representative.4 KV groups3 heads / group; the front face shows one representative.3 heads / groupAttention input. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input3,072CLWq. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.Wq3,072256Wk. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.Wk3,072256Wv. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.Wv3,072256RoPE. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.RoPERoPE. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.RoPEK cache. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache256CLV cache. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache256CLQ context. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.Earlier context is dimmed; outlined columns are current.Current token computation.Q context256CLScaled query–key scores, masking and softmax. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.CLCL×. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.×Joined heads. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.12Wo. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.Wo3,0723,072Attention output. 12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output3,072CL
Model-specific details
Transformer layers 1–28 · 28 repetitions
One dense SwiGLU network per layer (hidden size 23040).
Attention and positions
12 query heads share 4 key/value heads, each of size 256. Rotary positions with theta 1,000,042.
Memory
Keys and values for 4 heads of size 256, per token per layer.

A dense Llama-style stack

Falcon-H1 is the later hybrid design and has a separate page.

Explore the components

Sources for this map