-
Architecture: A causal (autoregressive) transformer that predicts the next token given previous context. The model maps token sequences to conditional probability distributions:
- Forward: for tokens $x_{1..T}$, the model computes $p_\theta(x_t \mid x_{<t})$.
-
Objective: Maximum likelihood / cross-entropy for next-token prediction. The training loss is the negative log likelihood summed over positions:
- $L(\theta)= -\sum_{t=1}^{T} \log p_\theta(x_t\mid x_{<t})$.