SIDE BY SIDE

Training vs inference

Both run numerical computations through a model. The critical difference is whether the process uses an objective and optimizer to update persistent parameters.

How the mechanisms differ
QuestionTrainingInference
PurposeImprove parameters for an objectiveProduce outputs using existing parameters
InputExamples and a learning objectiveA supplied sequence, possibly with tool results
Main workForward pass, loss, backward pass, updateForward computation and decoding
Persistent changeOptimizer updates model parametersOrdinary inference keeps parameters fixed
Useful questionDid held-out performance improve?Is this response useful and supported?
MAKE THE DISTINCTION CONCRETE

Reading a worked example in a prompt can change the next response without creating a training update. Fine-tuning on examples changes parameters across updates.

Follow the evidence

Read the connected lessons for detailed mechanisms, assumptions, and primary references.

← All comparisons