Transformer Architecture Deconstructed

Interactive Multi-Head Self-Attention Sandbox

Scaled Dot-Product: Softmax(QKᵀ / √dₖ)V
Attention Matrix (Softmax)
Q, K, V Vector Inspector (dₖ = 4) Token: "it"
Query (Q): What this token seeks • Key (K): What features it exposes • Value (V): Content payload aggregated into the next layer representation.