Formula

Sequence Slicing Notation (K[inc+1,i]\mathbf{K}_{[i-n_c+1,i]})

The notation K[inc+1,i]\mathbf{K}_{[i-n_c+1,i]} represents a slice of a sequence of items (such as vectors) denoted by K\mathbf{K}. This slice includes elements from the starting index inc+1i-n_c+1 up to and including the ending index ii. This notation is commonly used to define a context window of size ncn_c ending at position ii.

Image 0

0

1

Updated 2025-10-08

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