What is attention?
A mechanism that lets the model decide which parts of the input matter most for each word it processes.
Also called: attention mechanism, self-attention.
An analogy
A lifeguard at a crowded pool: everyone is in the water, but they keep their eyes on whoever needs it right now.
Where it shows up in the course
- Transformer
- Bias and fairness
- AI Safety