Attention
Attention is the step where the model, standing on one word, looks back over the words before it and decides how much to take from each. Read a recorded grid on 'Mary had a little lamb', then the four steps that make one row.
This page is interactive and needs JavaScript. More reading:
All the Concepts ·
The Chatbot Lab ·
About Glass Box LLM