Learn Before
Example

Example of Prefix Language Modeling

In prefix language modeling, an initial text sequence is provided as context, and the model is tasked with generating the remaining text. For instance, given the input prefix [C] The kitten is (where [C] represents a specific context token), the model autoregressively generates the continuation sequence: chasing1^1 the2^2 ball3^3 .4^4. The superscripts illustrate the order in which the subsequent target tokens are generated.

0

1

Updated 2026-04-17

Contributors are:

Who are from:

Tags

Foundations of Large Language Models

Ch.1 Pre-training - Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences