Learn Before
Sequence Slicing Notation ()
The notation represents a slice of a sequence of items (such as vectors) denoted by . This slice includes elements from the starting index up to and including the ending index . This notation is commonly used to define a context window of size ending at position .

0
1
Tags
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Application of as a Start Index
Sequence Slicing Notation ()
An analyst is examining a time-series dataset. They are focusing on a specific segment of 12 consecutive data points. If the last data point in this segment is at index 94, what is the index of the first data point in this segment?
Debugging a Sequence Slicing Function
Correcting an Indexing Calculation
Learn After
Applying Sequence Slicing to Identify a Context Window
Consider a sequence of items represented as . A specific slice of this sequence is defined by a context window of size that ends at position . Which of the following sets of items correctly represents this slice?
Deducing Slicing Parameters from a Sequence Slice