Index Ai Academy
Glossary · Phase 5 · Transformers

Unigram

Also written: unigram model

The simplest language model: it predicts each character or word from how common it is overall, ignoring what came before.

Learn it properly

Language modeling · Predict the next token, and score it with cross-entropy. About 30 minutes.

Start this free lesson

Other terms from the same lesson