AI Base

Course 08 of 10

LLMs

Transformers that predict the next token, over and over: how they're trained into instruction-followers, how they reason, and how the field around them works.

8 chapters · 52 lessons · builds on Generative AI · About this course

01Pretraining Data and Objectives7 lessons
02Scaling, Capacity and Emergence5 lessons

Make an LLM bigger, train it on more data, or give it more compute, and its capability doesn't grow in some simple, uniform way — it follows surprisingly predictable curves overall, punctuated by… Chapter overview

  1. 1Compute-Optimal Scaling (Chinchilla) 5 min
  2. 2Scaling Laws Beyond Chinchilla: Data-Constrained and Overtrained Regimes 5 min
  3. 3Emergent Abilities and Capability Jumps 5 min
  4. 4Grokking and Delayed Generalization 5 min
  5. 5The Bitter Lesson: Scale vs. Hand-Engineering 5 min
03Instruction Tuning and Alignment8 lessons
04Reasoning7 lessons
05Context, Memory and Long-Range Behavior5 lessons

A single forward pass has a fixed context window, but real use involves far more text than fits in one, conversations that span many turns, and sessions that return days later expecting to be… Chapter overview

  1. 1Long-Context Transformers 4 min
  2. 2Context Window Extension Techniques 5 min
  3. 3Context Rot and Lost-in-the-Middle Effects 4 min
  4. 4Multi-Turn Conversation State and Memory 4 min
  5. 5KV-Cache Reuse Across Sessions 4 min
06Evaluating LLMs6 lessons
07The LLM Landscape5 lessons

Outside the technical mechanics, LLMs exist inside a fast-moving ecosystem of model families, release decisions, licenses and governance frameworks that shape who can actually build on what. Chapter overview

  1. 1A History of LLM Families (GPT, BERT, T5, Llama) 4 min
  2. 2Open-Weight vs. Closed Models 4 min
  3. 3Model Cards and Responsible Release 4 min
  4. 4Licensing and Model Governance 4 min
  5. 5Responsible Scaling Policies and Frontier Safety 4 min
08LLMs in Practice9 lessons
LLMs glossaryEvery key term from this course in one alphabetical list. Next course · 09RAG