Index Ai Academy
Glossary · Phase 5 · Transformers

Add-one smoothing

Also written: Laplace smoothing

Adding 1 to every count before turning counts into chances, so nothing the model never saw gets a chance of exactly 0.

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