Transformers · Level 3 of 5
Query
An attention representation used to score candidate keys.
It expresses what a position is looking for in a learned vector space.
Listen to the definition and example
Audio transcript
Query. An attention representation used to score candidate keys. It expresses what a position is looking for in a learned vector space. For example: A token's projected vector is compared with other tokens' key vectors.
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.