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
Contributors are:
Who are from:
Tags
Data Science