Interactive learning lab
How AI works · guide 1 of 8

The language-model prediction forge

Mechanics lab · BriefingScene 1 / 6

Training changes weights; inference uses them

Follow one simplified prediction loop through both phases.

Training changes weights; inference uses them ready.

Thefastestwaytoimprove?

During training, prediction error nudges model parameters across vast data. During inference, fixed weights produce a probability distribution for the next token, one step at a time. Neither phase opens a fact database.

Training compresses statistical patterns.
Inference samples a continuation.
Ground truth must come from context or tools.