Daily lesson

Five minutes. One new idea.

Learn a little AI every day, at your own pace. Come back tomorrow, or keep going today.

Your first lesson · Fundamentals

Artificial intelligence

Example · Translator “How should this sentence read in another language?” It works with source text and learned language patterns.

5 min · BeginnerStart today's lesson
0 lessons opened
Start with Artificial intelligence.
Chapter 1 of 29
What AI is
Saved on this device
No account. Clearing this browser's data starts you over.

Coming up next

All lessons ↓
  1. 02Machine learning5 min · Beginner
  2. 03Deep learning4 min · Beginner
  3. 04Generative AI5 min · Beginner

All lessons

275 lessons · 29 chapters

The daily order covers both levels of the course: 139 beginner lessons and 136 deeper ones. In each chapter the beginner lessons come first. Start here shows one level at a time.

FundamentalsYou are here8 chapters · 84 lessons
Chapter 1What AI is10 lessons · 45 min
  1. 1Artificial intelligenceNextRead5 min
  2. 2Machine learningNextRead5 min
  3. 3Deep learningNextRead4 min
  4. 4Generative AINextRead5 min
  5. 5AI modelNextRead4 min
  6. 6AlgorithmNextRead4 min
  7. 7AGINextRead4 min
  8. 8Symbolic AINextRead4 min
  9. 9Expert systemsNextRead5 min
  10. 10Turing testNextRead5 min
Chapter 2How a model learns9 lessons · 39 min
  1. 11TrainingNextRead5 min
  2. 12Training dataNextRead5 min
  3. 13InferenceNextRead5 min
  4. 14ParametersNextRead3 min
  5. 15WeightsNextRead3 min
  6. 16FeaturesNextRead5 min
  7. 17LabelsNextRead5 min
  8. 18Ground truthNextRead5 min
  9. 19Data labelingNextRead3 min
Chapter 3Preparing data9 lessons · 37 min
  1. 20Feature engineeringNextRead4 min
  2. 21One-hot encodingNextRead4 min
  3. 22OutliersNextRead4 min
  4. 23Data augmentationNextRead4 min
  5. 24Missing dataNextRead5 min
  6. 25Imbalanced dataNextRead4 min
  7. 26Synthetic dataNextRead4 min
  8. 27Data leakageNextRead4 min
  9. 28Feature importanceNextRead4 min
Chapter 4The math models run on13 lessons · 48 min
  1. 29VectorsNextRead4 min
  2. 30MatricesNextRead4 min
  3. 31Dot productNextRead4 min
  4. 32Cosine similarityNextRead4 min
  5. 33EmbeddingsNextRead3 min
  6. 34Linear algebra for MLNextRead4 min
  7. 35ProbabilityNextRead4 min
  8. 36Statistics for MLNextRead4 min
  9. 37SoftmaxNextRead3 min
  10. 38Loss functionNextRead3 min
  11. 39Stochastic gradient descentNextRead3 min
  12. 40Bayesian inferenceNextRead5 min
  13. 41Gradient descentNextRead3 min
Chapter 5Ways machines learn10 lessons · 40 min
  1. 42Supervised learningNextRead4 min
  2. 43Unsupervised learningNextRead5 min
  3. 44Reinforcement learningNextRead5 min
  4. 45Self-supervised learningNextRead5 min
  5. 46Few-shot learningNextRead3 min
  6. 47Semi-supervised learningNextRead5 min
  7. 48Transfer learningNextRead3 min
  8. 49Continual learningNextRead4 min
  9. 50Q-learningNextRead3 min
  10. 51Multi-armed banditsNextRead3 min
Chapter 6Classic models11 lessons · 45 min
  1. 52RegressionNextRead3 min
  2. 53Linear regressionNextRead5 min
  3. 54Logistic regressionNextRead4 min
  4. 55K-nearest neighborsNextRead4 min
  5. 56Naive BayesNextRead4 min
  6. 57Ensemble learningNextRead4 min
  7. 58Support vector machinesNextRead5 min
  8. 59Gradient boostingNextRead4 min
  9. 60Genetic algorithmsNextRead4 min
  10. 61Hidden Markov modelsNextRead4 min
  11. 62Monte Carlo methodsNextRead4 min
Chapter 7Finding patterns without labels7 lessons · 29 min
  1. 63ClusteringNextRead4 min
  2. 64K-means clusteringNextRead4 min
  3. 65Recommender systemsNextRead4 min
  4. 66Anomaly detectionNextRead4 min
  5. 67Principal component analysisNextRead4 min
  6. 68Collaborative filteringNextRead4 min
  7. 69Time series forecastingNextRead5 min
Chapter 8Train, tune and score a model15 lessons · 60 min
  1. 70OverfittingNextRead3 min
  2. 71Validation setNextRead3 min
  3. 72Test setNextRead3 min
  4. 73EpochNextRead4 min
  5. 74Batch sizeNextRead3 min
  6. 75Learning rateNextRead3 min
  7. 76HyperparametersNextRead5 min
  8. 77UnderfittingNextRead5 min
  9. 78RegularizationNextRead5 min
  10. 79AccuracyNextRead4 min
  11. 80Precision and recallNextRead5 min
  12. 81Confusion matrixNextRead5 min
  13. 82Bias–variance tradeoffNextRead4 min
  14. 83F1 scoreNextRead4 min
  15. 84ROC curveNextRead4 min
Deep learningYou are here3 chapters · 28 lessons
Large language modelsYou are here7 chapters · 70 lessons
Chapter 12Tokens and context9 lessons · 30 min
  1. 113TokensNextRead3 min
  2. 114TokenizationNextRead3 min
  3. 115VocabularyNextRead3 min
  4. 116Context windowNextRead3 min
  5. 117Max tokensNextRead3 min
  6. 118Knowledge cutoffNextRead3 min
  7. 119Byte-pair encodingNextRead3 min
  8. 120Long contextNextRead4 min
  9. 121Lost in the middleNextRead5 min
Chapter 13How an LLM writes13 lessons · 39 min
  1. 122LLMNextRead3 min
  2. 123Next-token predictionNextRead3 min
  3. 124LogitsNextRead3 min
  4. 125Greedy decodingNextRead3 min
  5. 126Top-k samplingNextRead3 min
  6. 127Stop sequencesNextRead3 min
  7. 128SummarizationNextRead3 min
  8. 129Autoregressive modelsNextRead3 min
  9. 130TemperatureNextRead3 min
  10. 131Top-p samplingNextRead3 min
  11. 132Beam searchNextRead3 min
  12. 133Test-time computeNextRead3 min
  13. 134Emergent abilitiesNextRead3 min
Chapter 14Inside a transformer10 lessons · 30 min
  1. 135TransformersNextRead3 min
  2. 136AttentionNextRead3 min
  3. 137Self-attentionNextRead3 min
  4. 138Embedding layerNextRead3 min
  5. 139Decoder-only modelsNextRead3 min
  6. 140Encoder-only modelsNextRead3 min
  7. 141Encoder-decoderNextRead3 min
  8. 142Multi-head attentionNextRead3 min
  9. 143Positional encodingNextRead3 min
  10. 144Rotary position embeddingsNextRead3 min
Chapter 15Efficient model designs8 lessons · 27 min
  1. 145Mixture of expertsNextRead3 min
  2. 146Grouped-query attentionNextRead3 min
  3. 147Sparse attentionNextRead3 min
  4. 148SparsityNextRead4 min
  5. 149FlashAttentionNextRead3 min
  6. 150Linear attentionNextRead3 min
  7. 151State space modelsNextRead4 min
  8. 152MambaNextRead4 min
Chapter 16Kinds of language model11 lessons · 34 min
  1. 153Foundation modelsNextRead3 min
  2. 154Base modelsNextRead3 min
  3. 155Instruct modelsNextRead3 min
  4. 156Open-weight modelsNextRead3 min
  5. 157Closed modelsNextRead3 min
  6. 158Small language modelsNextRead3 min
  7. 159Code modelsNextRead3 min
  8. 160Agentic modelsNextRead3 min
  9. 161Frontier modelsNextRead3 min
  10. 162Reasoning modelsNextRead4 min
  11. 163Chat templatesNextRead3 min
Chapter 17Multimodal and embodied models6 lessons · 24 min
  1. 164Multimodal modelsNextRead4 min
  2. 165Vision-language modelsNextRead4 min
  3. 166Omni modelsNextRead4 min
  4. 167World modelsNextRead4 min
  5. 168Robotics foundation modelsNextRead4 min
  6. 169Vision-language-action modelsNextRead4 min
Chapter 18Training, alignment and fine-tuning13 lessons · 52 min
  1. 170PretrainingNextRead3 min
  2. 171Fine-tuningNextRead4 min
  3. 172Instruction followingNextRead3 min
  4. 173Instruction tuningNextRead3 min
  5. 174Supervised fine-tuningNextRead4 min
  6. 175Constitutional AINextRead4 min
  7. 176Parameter-efficient fine-tuningNextRead4 min
  8. 177LoRANextRead5 min
  9. 178QLoRANextRead5 min
  10. 179DistillationNextRead5 min
  11. 180RLHFNextRead4 min
  12. 181RLAIFNextRead4 min
  13. 182DPONextRead4 min
Building apps and agentsYou are here5 chapters · 44 lessons
Chapter 19Prompts, structured outputs and tools10 lessons · 39 min
  1. 183Prompt engineeringNextRead4 min
  2. 184System promptNextRead3 min
  3. 185Few-shot promptingNextRead3 min
  4. 186Prompt chainingNextRead5 min
  5. 187Chain of thoughtNextRead4 min
  6. 188Structured outputsNextRead3 min
  7. 189JSON modeNextRead4 min
  8. 190Function callingNextRead4 min
  9. 191Tool useNextRead5 min
  10. 192Code interpretersNextRead4 min
Chapter 20Searching your data9 lessons · 33 min
  1. 193Semantic searchNextRead3 min
  2. 194Embedding modelsNextRead3 min
  3. 195Reranker modelsNextRead3 min
  4. 196Vector databasesNextRead4 min
  5. 197Hybrid searchNextRead4 min
  6. 198RerankingNextRead4 min
  7. 199Approximate nearest neighbor searchNextRead4 min
  8. 200HNSWNextRead4 min
  9. 201Metadata filteringNextRead4 min
Chapter 21Retrieval-augmented generation (RAG)7 lessons · 27 min
  1. 202RAGNextRead4 min
  2. 203ChunkingNextRead3 min
  3. 204GroundingNextRead3 min
  4. 205Knowledge graphsNextRead4 min
  5. 206HyDENextRead4 min
  6. 207Contextual retrievalNextRead5 min
  7. 208GraphRAGNextRead4 min
Chapter 22Agents, context and memory12 lessons · 52 min
  1. 209AI agentsNextRead4 min
  2. 210Self-reflectionNextRead3 min
  3. 211Voice agentsNextRead5 min
  4. 212ReActNextRead5 min
  5. 213Agentic workflowsNextRead4 min
  6. 214Human in the loopNextRead5 min
  7. 215Computer-use modelsNextRead4 min
  8. 216Context engineeringNextRead4 min
  9. 217Agent memoryNextRead5 min
  10. 218Agent stateNextRead5 min
  11. 219Context compactionNextRead4 min
  12. 220Agent planningNextRead4 min
Chapter 23Multi-agent systems and protocols6 lessons · 24 min
  1. 221Multi-agent systemsNextRead5 min
  2. 222Sub-agentsNextRead3 min
  3. 223Agent orchestrationNextRead4 min
  4. 224MCPNextRead4 min
  5. 225A2A protocolNextRead4 min
  6. 226Sandboxing agentsNextRead4 min
Production, evals and safetyYou are here6 chapters · 49 lessons
Chapter 24Evals and benchmarks12 lessons · 43 min
  1. 227EvalsNextRead5 min
  2. 228BenchmarksNextRead3 min
  3. 229LLM evaluationNextRead5 min
  4. 230LLM-as-a-judgeNextRead3 min
  5. 231Agent evaluationNextRead4 min
  6. 232Perplexity (metric)NextRead4 min
  7. 233MMLUNextRead3 min
  8. 234GPQANextRead3 min
  9. 235HumanEvalNextRead3 min
  10. 236SWE-benchNextRead3 min
  11. 237ARC-AGINextRead3 min
  12. 238Benchmark contaminationNextRead4 min
Chapter 25Serving models8 lessons · 30 min
  1. 239Model servingNextRead5 min
  2. 240On-device AINextRead4 min
  3. 241Batch inferenceNextRead3 min
  4. 242Self-hosting LLMsNextRead4 min
  5. 243Inference optimizationNextRead3 min
  6. 244KV cacheNextRead3 min
  7. 245QuantizationNextRead4 min
  8. 246Speculative decodingNextRead4 min
Chapter 26Speed and cost8 lessons · 30 min
  1. 247LatencyNextRead3 min
  2. 248ThroughputNextRead3 min
  3. 249Token costsNextRead4 min
  4. 250Rate limitsNextRead4 min
  5. 251Tokens per secondNextRead3 min
  6. 252Prompt cachingNextRead4 min
  7. 253Model routingNextRead4 min
  8. 254LLM gatewaysNextRead5 min
Chapter 27Hardware and training at scale10 lessons · 45 min
  1. 255GPUsNextRead5 min
  2. 256CPUsNextRead5 min
  3. 257TPUsNextRead5 min
  4. 258NPUsNextRead5 min
  5. 259AI acceleratorsNextRead5 min
  6. 260FLOPsNextRead5 min
  7. 261Chinchilla scalingNextRead3 min
  8. 262Data parallelismNextRead4 min
  9. 263Mixed precisionNextRead4 min
  10. 264Gradient checkpointingNextRead4 min
Chapter 28Reliability and monitoring5 lessons · 20 min
  1. 265HallucinationNextRead3 min
  2. 266SycophancyNextRead3 min
  3. 267MLOpsNextRead5 min
  4. 268LLMOpsNextRead5 min
  5. 269LLM observabilityNextRead4 min
Chapter 29Security6 lessons · 27 min
  1. 270Prompt injectionNextRead5 min
  2. 271JailbreaksNextRead4 min
  3. 272GuardrailsNextRead5 min
  4. 273Data privacyNextRead5 min
  5. 274Indirect prompt injectionNextRead4 min
  6. 275Red teamingNextRead4 min