Answered from Q, K, V intuition - self attention with trainable weights | The attention family series - Lecture 6 · The attention family · 2026-09-18
Vizuara's Sreedath Panat unpacks the Attention Is All You Need formula, softmax(QK transpose over the square root of d) times V, as a weighted sum: each token's context vector is the sum over j of attention weight w_j times value vector v_j. For the word ball in a five-token sentence, softmax weights of 0.17, 0.16, 0.25, 0.10 and 0.31 multiply value vectors v1 to v5, and their sum is the context vector z5. Changing the query to token 3 gives a new set of weights and z3.
Source: our own transcription of the episode. The full conversation is on The attention family (2026-09-18). Read the whole episode summary →