Formula

Formula for Applying RoPE Rotation 't' Times

Rotating a vector x\mathbf{x} by an angle θ\theta for tt times is equivalent to a single rotation by the angle tθt\theta. This operation is formally expressed as: Ro(x,tθ)=xRtθ=[costθx1sintθx2sintθx1+costθx2]Ro(\mathbf{x}, t\theta) = \mathbf{x}R_{t\theta} = [\cos t\theta \cdot x_1 - \sin t\theta \cdot x_2 \quad \sin t\theta \cdot x_1 + \cos t\theta \cdot x_2]

Image 0

0

1

Updated 2026-05-02

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