Formula

General Equivalence Formula for Modified RoPE

A modified Rotary Positional Embedding (RoPE) function, denoted Ro\mathrm{Ro}', can be defined through its equivalence to the original Ro\mathrm{Ro} function. Applying the modified function Ro\mathrm{Ro}' to a token embedding xi\mathbf{x}_i with position parameters iθi\theta is identical to applying the original function Ro\mathrm{Ro} to the same embedding but with a transformed set of position parameters, iθi\theta'. This relationship is formally stated as: Ro(xi,iθ)=Ro(xi,iθ)\mathrm{Ro}'(\mathbf{x}_i, i\theta) = \mathrm{Ro}(\mathbf{x}_i, i\theta')

0

1

Updated 2026-06-20

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences