Learn Before
Concept

Conceptual Illustration of RoPE's Rotational Mechanism

The rotational mechanism of Rotary Positional Embeddings (RoPE) can be visualized in steps. A single-step rotation involves applying a rotational transformation, parameterized by an angle θ\theta, to an initial vector embedding x\mathbf{x}, resulting in a new vector xRθ\mathbf{x}R_\theta. A multi-step rotation demonstrates the cumulative effect of this process, where successive rotations are applied, transforming the vector through states like xRθ\mathbf{x}R_\theta, xR2θ\mathbf{x}R_{2\theta}, and xR3θ\mathbf{x}R_{3\theta}, effectively encoding sequential position through accumulated rotation.

0

1

Updated 2026-04-29

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related