Skip to content
Clairos Learn

AI systems foundations · Lesson 6 of 15 · 5 min

Distinguish training and inference

Training updates learned parameters; inference uses a selected artifact to generate output. Generation settings can change inference behavior without changing the weights.

Mastery 0/3Run itExplain itApply it
learner@clairosSimulated AI Ops lab
learner@clairos:~ $
↑ history · Tab complete · Ctrl+C cancel · Esc, Tab to leaveExit 0

Understand the pattern

Training updates learned parameters; inference uses a selected artifact to generate output. Generation settings can change inference behavior without changing the weights.

Interpret the evidence

Classify this as inference configuration, not a training run.

A tempting mistake

A temperature change means the model was retrained.

All names, measurements, prices, versions, and thresholds in this exercise are fictional training data. The evidence supports this bounded scenario, not a claim about a live provider.

Worked example and expected result
$ cat /opt/ai-lab/cases/aiops-systems-foundations-006.json
{
  "fixture": "Fictional training data; not a live measurement.",
  "operation": "generate",
  "weights_changed": false,
  "temperature_changed": true
}

Exit status: 0. The command completed successfully in the training fixture.

$ jq .weights_changed /opt/ai-lab/cases/aiops-systems-foundations-006.json
false

Exit status: 0. The command completed successfully in the training fixture.

$ printf '%s\n' 'classify-inference' > /home/learner/lab/aiops-systems-foundations-006-decision.txt
(no output; exit 0)

Exit status: 0. The command completed successfully in the training fixture.

Try a variation

Name the assumption that would have to change for “classify-inference” to stop being the justified action. Do not silently replace missing evidence with a guess.

Explain it

What does the evidence in “Distinguish training and inference” justify?

Apply it elsewhere

A colleague concludes: “A temperature change means the model was retrained.” What should you do?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Identify deterministic componentsTry an incident drill

Anonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.

Keep learning

  1. 01Read an inference contractAn inference contract specifies required fields, supported model identifiers and response shape. Validate the request before blaming a model for a rejected envelope.Practice
  2. 02Identify deterministic componentsApplication arithmetic, validation and routing can be deterministic even when text generation is variable. Keep hard constraints in code instead of trusting generated prose to enforce them.Practice
  3. 03Recognize probabilistic outputA probabilistic system can return different valid wording for the same task. Compare task quality over repeated cases rather than demanding identical strings when exact wording is not a requirement.Practice