Definition

Positional Encoding Vector

Positional Encoding, denoted as PE(i)PE(i), is a technique used to inject information about the relative or absolute position of tokens in a sequence. The encoding for a specific position ii is represented as a vector in a d-dimensional real number space. This is formally expressed as PE(i)∈RdPE(i) \in \mathbb{R}^d, meaning each position is mapped to a unique high-dimensional vector.

Image 0

0

1

Updated 2026-04-23

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