Transformers · Level 4 of 5
Rotary Position Embedding
A positional method rotating query and key coordinates according to position.
The construction lets relative positions affect their dot products.
Example
Attention vectors are rotated before their similarity is computed.
Listen to the definition and example
Audio transcript
Rotary Position Embedding. A positional method rotating query and key coordinates according to position. The construction lets relative positions affect their dot products. For example: Attention vectors are rotated before their similarity is computed.
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.