Learn Before
Definition

Prefix Language Modeling (PrefixLM)

Prefix Language Modeling (PrefixLM) is a self-supervised pre-training objective where a model learns to predict a subsequent sequence of text given an initial prefix that serves as context. In an encoder-decoder implementation, the encoder processes the entire prefix non-causally to build a rich contextual representation. The decoder then uses this representation to autoregressively generate the remaining part of the sequence.

Image 0

0

1

Updated 2026-04-17

Contributors are:

Who are from:

Tags

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

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences