Transformers · Level 3 of 5
Key
An attention representation compared with queries to determine relevance scores.
Keys guide weighting, while values provide the information being mixed.
Listen to the definition and example
Audio transcript
Key. An attention representation compared with queries to determine relevance scores. Keys guide weighting, while values provide the information being mixed. For example: Each source token supplies a vector for matching queries.
Explore this concept
Why it matters
This helps you trace how token representations exchange and transform information.
Start with
Related concepts
Quick recall question
Try answering before looking back at the definition.