From "What is a language model?" all the way to building a working GPT-like text generator. Every concept explained like you're 5, then we code it for real.
Curated by Fakhruddin Khambaty
What is
an LLM?
Text to
Numbers
Neural Net
Basics
Attention
Mechanism
Transformer
Architecture
Train
Your LLM
Fine-Tune
& RLHF
Deploy
& Use
The big picture. What is a language model, why is everyone talking about it, and how does ChatGPT actually work at a very high level?
Computers only understand numbers. How do we convert words into math that a neural network can process? Tokenization, embeddings, and positional encoding.
A fast-track refresher on the building blocks every LLM uses: neurons, layers, activation functions, backpropagation, and PyTorch basics.
The breakthrough that made LLMs possible. "Attention Is All You Need" - we break it down piece by piece with visual examples and real math.
The full picture: encoder, decoder, layer normalization, feed-forward networks, residual connections. We build the entire Transformer block by block.
The main event! We train a GPT-style language model from scratch on real text data. Data preparation, training loop, loss curves, and text generation.
How ChatGPT went from "raw text predictor" to "helpful assistant." Supervised fine-tuning, LoRA, and Reinforcement Learning from Human Feedback.
Take your model from a notebook to production. Inference optimization, quantization, APIs, RAG, prompt engineering, and safety.
Put it all together! Build a complete, working text-generating LLM from scratch: tokenizer, transformer, training, fine-tuning, and a simple web interface.
Every tool and library you'll learn in this course, what it does in plain English, where you'll use it, and how they all connect.
These skills are assumed. If you're shaky on any, brush up first — the links go to our courses!
Functions, classes, list comprehensions, file I/O. You should be comfortable writing 50+ line scripts.
→ Our Python courseVectors, matrices, dot products, matrix multiplication. Don't worry — Module 3 refreshes everything you need.
→ Our Math FoundationsThese are the main tools used to build, train, and run LLMs. We teach every one from scratch in this course.
Beyond tools — these are the ideas and architectures you'll understand deeply.
Text → numbers
Meaning + order
The Q, K, V magic
The full GPT blueprint
How LLMs learn
Creative vs safe output
Human preference alignment
Give LLMs real docs
Install everything you need for this course in one line:
Requires Python 3.9+. GPU recommended for Module 6+ (but not required — CPU works, just slower).