Foundations
What are LLMs? How do they represent text? Learn about tokens, embeddings, vocabularies, sampling strategies, and the basic building blocks of language models.
Learn how Large Language Models work, how to build them, and the mathematics behind everything. From tokens to transformers, from gradients to GPT. No prior ML experience required.
Start LearningA structured journey from "What is a token?" to implementing your own transformer. Each level builds on the previous, with interactive examples and mathematical rigor.
What are LLMs? How do they represent text? Learn about tokens, embeddings, vocabularies, sampling strategies, and the basic building blocks of language models.
From the perceptron to deep networks. Understand how neural networks learn patterns, backpropagation, optimization, and the architecture choices that make deep learning work.
The architecture that changed everything. Master attention mechanisms, multi-head attention, positional encodings, and the full transformer block in detail.
How LLMs are actually trained. Pre-training, fine-tuning, RLHF, distributed training, quantization, and the optimization algorithms that make it all work.
Deep dive into the math. Linear algebra, calculus, probability, information theory, optimization theory, and statistical learning — all explained visually and rigorously.
Most LLM explanations either oversimplify or drown you in equations. We do neither — every concept explained intuitively AND rigorously.
Start from absolute zero. No assumed knowledge of ML, AI, or even programming. We build everything up from scratch.
See the real equations behind LLMs — gradients, attention matrices, loss functions — explained step by step with visualizations.
Run actual code in your browser. Build a tiny transformer, train it, and see it generate text. Learn by doing.
Switch between "Casual" (intuitive explanations) and "Formal" (technical depth) anytime. Learn at your level.
High-dimensional concepts rendered as interactive visualizations. See attention heads, embedding spaces, and gradients.
No paywalls, no subscriptions, no ads. Open source and free forever. Knowledge should be accessible to everyone.
Join thousands of learners demystifying AI. Start with Level 1 and build your way up to understanding every component of modern language models.
Start Level 01: Foundations →