Learn Before
Mathematical Representation of an Output Sequence
An output sequence, denoted by y, can be mathematically represented as an ordered list of elements, such as tokens or actions. A common notation is $y = (a_1, a_2, ..., a_{n_r})$, where $a_{n_r}$ is the final element in a sequence of length $n_r$.
0
1
Tags
Ch.5 Inference - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Hypothesis in LLM Inference
Mathematical Formulation of the Search Problem in LLM Inference
Exploration vs. Exploitation in LLM Search
Search Tree Structure in Token Generation
Heuristic Search Algorithms for LLM Inference
Efficient Generation of Candidate Solutions via Search Algorithms
Search for Optimal or Sub-optimal Sequences in LLM Inference
Root of the Search Space as a Representation of Input (x)
A text generation model has a vocabulary of 10,000 possible words it can choose from for each position in a sequence. If this model were to find the optimal output by evaluating every single possible sequence, how would the total number of sequences to check change if the desired output length is increased from 3 words to 5 words?
Evaluating an Inference Strategy
The Impracticality of Exhaustive Search
Historical Context and Computational Challenges of Maximum Probability Prediction
Mathematical Representation of an Output Sequence
Learn After
Applying Mathematical Sequence Notation
A language model generates the output sentence 'Hello world !'. If this output is represented as an ordered sequence of tokens
$y = (a_1, a_2, ..., a_{n_r})$, which of the following correctly describes the components of this specific sequence?In the context of representing a language model's output, match each mathematical symbol from the notation
$y = (a_1, a_2, ..., a_{n_r})$to its correct description.