7 min readBuilding a Language Model
Attention and Self-Attention
Queries, keys, and values built from the ground up: why attention exists, how scaled dot-product attention is computed, why it is divided by the square root of the dimension, and how causal masking works, with every matrix computed and checked.
Generative AIDeep LearningNatural Language Processing