1Score
query of “it” · key of each word
2Scale
divide by √64 = 8
3Softmax
positive, sums to 100%
4Mix
output = Σ weight × value
One head, one word. Illustrative numbers; 64 is the key size per head in the original paper. Every word does this for every other word at the same time.