Free course
Build a Language Model on Your Mac
Use Language Model Builder to design, train, inspect, fine-tune, and evaluate a small language model entirely on your Mac.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
Your progress
of lessons completed.
Course completed.
What you'll learn
Complete one documented language-model experiment from blueprint and data selection through pre-training, fine-tuning, comparison, and an honest lab report.
Course contents
Plan the experiment
Install the app, set realistic expectations, and define what you will measure.
See what the model sees
Inspect tokens, embeddings, attention, and the transformer path.
Design the run
Choose the model shape, tokenizer, data, and practical resource budget.
Pre-train and observe
Run training over time, read loss, sample checkpoints, and diagnose results.
Shape model behavior
Use SFT, preference data, chat, and inspection tools deliberately.
Compare and report
Compare checkpoints fairly and document what the experiment proved.