Definition

Definition of the 2x2 RoPE Rotation Matrix Block

The 2x2 rotation matrix RtθkR_{t\theta_k} is the fundamental building block of the larger block-diagonal matrix used in Rotary Positional Embeddings (RoPE). It rotates a pair of dimensions by an angle tθkt\theta_k, where tt represents the position and θk\theta_k is a specific frequency parameter. The matrix is defined as: Rtθk=[costθksintθksintθkcostθk]R_{t\theta_k} = \begin{bmatrix} \cos t\theta_k & \sin t\theta_k \\ -\sin t\theta_k & \cos t\theta_k \end{bmatrix}

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

Ch.3 Prompting - Foundations of Large Language Models

Related