LLM Basics

Understand how LLMs actually work.

Free, interactive lessons that build your intuition for large language models from the ground up — tokenization, embeddings, attention, and beyond. No lectures, no signup, just hands-on exploration.

Start the course →

Courses

15 lessons

Zero to GPT

Build up an intuitive, from-scratch understanding of how large language models work — from derivatives and backpropagation through tokenization, embeddings, self-attention, and all the way to a working (if tiny) GPT.

View syllabus →
6 lessons

Neural Networks from Scratch

Take the tiny autograd engine from Zero to GPT and build a real, trainable multi-layer perceptron with it — one neuron, one layer, one training loop at a time, ending with a 2D classifier you watch learn its decision boundary live.

View syllabus →
6 lessons

AI Security

How prompt injection and jailbreaks actually work, taught defensively with real model transcripts: direct and indirect injection, roleplay/encoding/multi-turn jailbreak techniques, and the text-level and architectural defenses that hold up against them.

View syllabus →
6 lessons

Prompt Engineering

Zero-shot, few-shot, chain-of-thought, role framing, self-consistency, and prompt chaining — taught with real model transcripts and tied directly back to the attention and sampling mechanics from Zero to GPT.

View syllabus →