Rotary positional embeddings

A method encoding positions by rotating components of attention queries and keys.

Practical example

The model accounts for relative token positions.

AI glossary · Poiskom

All guides