Compare, normalize, combine
Understand how a language model combines context, and why a bright attention cell is not proof of an explanation.
- Starting information
Two value vectors with weights 0.25 and 0.75
- Relationship or operation
Multiply each value by its weight and add
- Consequence
A context-dependent combination
Attention calculates how strongly available positions contribute. Its weights are not a verified explanation of real-world causation or truth.
Your learning goal
See how nearby words change a word’s meaning. Follow a small calculation that combines information from earlier words.