intuitiveai

An interactive study of

Artificial intelligence.

Explore the ideas behind learning machines, from a first prediction to a language model.

Start with the basics
017 lessons

Machine learning

Data, predictions, loss, and evaluation.

027 lessons

Mathematics for AI

Vectors, probability, derivatives, and optimization.

038 lessons

Neural networks

Layers, gradients, and representation learning.

047 lessons

Language models

Tokens, attention, pretraining, and generation.

058 lessons

Generative AI

Diffusion, fine-tuning, and model alignment.

066 lessons

Retrieval & knowledge

Embeddings, search, and grounded answers.

077 lessons

Agents & safety

Tools, planning, permissions, and feedback.

087 lessons

Production systems

Serving, evaluation, latency, and reliability.

From idea to implementation

Build a small language model.

GPT from scratch: the learning sequence Explore next-token prediction