21/25
Part 6 of 6 · Follow-upsLearn and do

The score matrix grows with the square of the length

Once your attention works, the usual follow-up is long inputs. What does attention cost as the context grows, and what would you do about it?

Predict

Double the length from 4 tokens to 8. How many scores does one head compute?

Pick an answer above to see the rest