Definition

Definition of the RoPE Cosine Vector

In Rotary Positional Embeddings (RoPE), the cosine vector for a given position ii is a d/2d/2-dimensional vector denoted as cosiθ\cos i\theta. Each component of this vector is the cosine of the product of the position index ii and the corresponding frequency parameter θk\theta_k. The vector is defined as: cosiθ=[cosiθ1,,cosiθd/2]\cos i\theta = [\cos i\theta_1, \dots, \cos i\theta_{d/2}]

0

1

Updated 2026-04-29

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

Ch.2 Generative Models - Foundations of Large Language Models