By Team Edtoolkits · AI learning
Train a straight-line model and distinguish weight updates from one prediction with fixed weights.
Use the guide alongside the working tool.
Open Training vs Inference →Explore the lesson
Watch a workshop build a machine, then the machine run on a conveyor belt.
Train the tiny model for more rounds, then switch to use mode and ask it questions.
Flip the memory card and answer the quick check.
A comparison to try
Compare zero training epochs with several epochs, watching the fitted slope, intercept and loss. Then enter an inference value and evaluate the fitted line without retraining it.
Read the result
Training repeatedly computes errors and updates the parameters. Inference uses the resulting slope and intercept to calculate one output; changing the input alone is not another learning step. Compare the work counters as rough proportions.
A mistake to avoid
The model is only a straight line and the operation counts are illustrative, not hardware timings. Real training and inference involve batching, memory and other costs. A good fit to these points does not establish predictions beyond the data's useful range.
Teaching model and privacy
The model is a straight line and the work counts are rough, so they show proportions rather than real timings. Everything runs in your browser.
Ready to apply this workflow?
Try Training vs Inference →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.