Skip to content
seekho.

How AI Models Are Trained: A Visual Guide to Building Models from Scratch

See how models learn from data, then build and train your own, from a straight line to a tiny text generator.

New course👥 Be one of the first learnersAll levels4h 10m · 27 lessonsEnglish

Created by Seekho Studio · Published Nov 29, 2026

⚡ This course in two minutes

One line for every lesson, in plain words.

  1. What It Means to Train a Model. Training means a model guesses, sees how wrong it was, and changes its numbers a little.
  2. Data, Features and Labels. Training data is a table of examples.
  3. A Model Is a Formula with Knobs. Our first model is a straight line: price = w × size + b.
  4. Measuring Mistakes: The Loss. The loss is one number for all of a model's mistakes.
  5. Gradient Descent: Turning the Knobs Downhill. Gradient descent finds which way each knob makes the loss grow.
  6. Lab: Train a Line from Scratch. In this lab you write the loss, the slopes and the update step in Python.
  7. From Numbers to Yes or No: Logistic Regression. The model adds up clues with weights.
  8. Training, Validation and Test Sets. Split your examples into three piles.
  9. Overfitting and Underfitting. A model that is too simple misses the pattern.
  10. Judging a Classifier: Accuracy, Precision and Recall. Count the right and wrong answers by type.
  11. Neurons, Weights and Activations. A neuron takes some numbers in and gives one number out.
  12. The Forward Pass. The forward pass is how a network makes a guess.
  13. Backpropagation Without the Fear. Backpropagation finds how much each knob caused the mistake.
  14. Lab: Train a Tiny Neural Network. In this lab you train a small network on a pattern called XOR.
  15. Making Training Work: Learning Rate, Batches and Epochs. Three settings shape training.
  16. Tokens and Embeddings. A model only works with numbers.
  17. Predicting the Next Token. A text model looks at the text so far.
  18. Lab: Build a Tiny Text Generator. You build a text model that counts which letter comes after which.
  19. Attention and Transformers in Pictures. Attention lets each word look back at earlier words.
  20. How Large Language Models Are Trained. Large language models are trained in three stages.
  21. Getting and Cleaning Data Responsibly. Before training, make sure you may use the data.
  22. The Same Ideas in PyTorch. PyTorch is a free library that does the same training steps you did by hand.
  23. Fine-Tuning an Existing Model Instead of Starting Over. Fine-tuning means you take a model that is already trained.
  24. Evaluating, Saving and Sharing a Model. Test the model once on data it has never seen.
  25. Final Project: Train and Evaluate Your Own Model. Pick a small task and data you may use.
See the whole course on one page

What you'll learn

  • Explain in plain words, with pictures, how a model learns from data.
  • Build and train small models from scratch in plain Python: a line, a classifier, a neural network and a text generator.
  • Split data into training, validation and test sets, and spot overfitting.
  • Judge a model honestly with the right measures, and describe its limits.
  • Describe how large language models are trained, and when fine-tuning an existing model is the better choice.
  • Prepare data responsibly: rights, privacy and bias.

Course content

6 sections · 27 lessons · 4h 10m

Made to be easy to follow

Each lesson starts with an easy view: the idea in plain words, a real-world example with a picture, small steps, key words, a common mistake and a quick check. You can also listen to lessons and change text size, spacing, font and colours.

Requirements

  • School maths: adding, multiplying and reading a simple graph. Every formula is explained in words and pictures first.
  • No coding needed to start: the labs run in your browser and explain each line. A little Python helps.

Description

See how models learn from data, then build and train your own, from a straight line to a tiny text generator.

Lessons are written in plain language with everyday examples and short hands-on exercises, and the course includes a practice project. Results depend on each learner's effort and background.

Your instructor

Seekho Studio

Seekho's in-house curriculum team

Seekho Studio is the in-house team that writes and produces Seekho's original flagship courses. Individual instructor profiles will appear here as instructors join the platform.

Ratings and reviews

Questions & answers →

No ratings yet. Learners in this course can rate it.