Learn Before
Concept
Objective Function for Training Text Generative Models
A Text Generative Model (TGM) is a neural language model that estimates the probability distribution of tokens. It learns parameters by minimizing the following negative log-likelihood objective function over a dataset :
Where:
- is a token from the vocabulary of words.
- textbf{x} = (x_1, dots, x_{|textbf{x}|}) is a text sequence.
- is the reference distribution.
- is a finite set of text sequences drawn from .
- is the model's predicted probability of the next token given the previous tokens in the sequence.
0
1
Updated 2026-06-26
Tags
Data Science
Related
Uses of Text Generative Models(TGMs)
Misuse of Text Generative Models(TGMs)
Qualities of an ideal TGM detector
Social impacts of TGMs
Text Generative Model Architecture
Controllable Text Generative Models
TGM Classifiers or Detectors
Human-machine collaboration for TGMs
Objective Function for Training Text Generative Models