Attention
Meaning
The mechanism inside a Transformer that lets the model weigh how important each word is to the others in a sentence. Thanks to attention, the model can tell who a pronoun such as it or they refers to, instead of treating every word as equally important. Attention is the key ingredient that lets modern language models understand context.
Example of use
When reading a long sentence, attention helps the AI remember an early word that still matters to the word at the end.
