Applied AI

Course map · Season 1 of 15

Technical season

S1 How LLMs work

What a large language model does, from tokens and attention to hallucination and reasoning.

  • 13 lessons live
  • 16 core ideas
Lesson Coming soon Idea Where it leads

Lessons, in order

  1. S1 E0 Season intro · 5 slides · 27 September 2026 Season 1: How LLMs work Season introduction, to outline what the upcoming episodes will cover; What large language models (LLMs) actually do, from the first token to reasoning.
  2. S1 E1 Explainer · 13 slides · 28 September 2026 One token at a time What a large language model (LLM) actually does, and why every call starts fresh. Rule Treat every model call as stateless and probabilistic: send the context it needs, and verify what it returns.
  3. S1 E2 Explainer · 15 slides · 29 September 2026 Tokens Tokens are the unit every model reads, writes, and bills in, and one sentence can need up to 9.2 times as many tokens in Amharic as in English. Rule Budget, limit, and price in tokens, measured on your own traffic in every language you serve.
  4. S1 E3 Explainer · 15 slides · 30 September 2026 Embeddings Embeddings place text as coordinates on a map of meaning, but similar is not the same as relevant, so treat your embedding model as a versioned dependency. Rule Treat the embedding model as a versioned dependency: pin it, test it on your own queries, and re-embed when it changes.
  5. S1 E4 Explainer · 13 slides · 1 October 2026 Attention Attention lets every token weigh the tokens before it, so meaning comes from context, but every extra token competes for that attention and adds cost. Rule Send the model what it needs, not everything you have: every extra token competes for attention and adds cost.
  6. S1 E5 Explainer · 16 slides · 2 October 2026 The transformer The transformer stacks attention and feed-forward layers over token embeddings, and its shape explains why writing took 22 times as long per token as reading. Rule Choose the smallest model that passes your own tests, and budget latency on output length.
  7. S1 E6 Explainer · 16 slides · 3 October 2026 Context windows The context window is one shared budget for instructions, history, documents, and the answer, and what falls past its edge is often dropped without any error. Rule Treat the context window as a budget: count what you send, reserve room for the answer, and test at your real size.
  8. S1 E7 Field note · 18 slides · 4 October 2026 Field note: lost in the middle Across three current models and 270 calls, where a fact sat in documents up to 64,000 tokens made no difference to finding it, unlike the 2023 finding. Rule Stop arranging long prompts by position for simple lookups. Test the harder shapes of your own task before trusting a long context.
  9. S1 E8 Explainer · 17 slides · 5 October 2026 Sampling Sampling draws each token from the model's odds, so settings like temperature trade consistency for variety, and a feature must be judged by its rate across many runs. Rule Set sampling for the task, and judge a model by its rate across many runs, never by one answer.
  10. S1 E9 Explainer · 22 slides · 6 October 2026 Hallucination Fluent answers can be confidently wrong, and the only fabrication in this test came from the keyword scoring, not the model, so check error rates by reading answers. Rule Never ship an answer you cannot trace: ground it in a source, let the model say it does not know, and measure the error rate by reading, not just by keyword.
  11. S1 E10 Field note · 20 slides · 7 October 2026 Field note: reasoning versus standard Across three providers and 720 calls, high reasoning gained about 20 points on multi-step tasks and nothing on lookups or simple sums, mostly from one model. Rule Turn reasoning on for problems that need several steps held in mind at once. Leave it off for lookups and simple sums, and pilot before you commit.
  12. S1 E11 Decision framework · 17 slides · 8 October 2026 When is a reasoning model worth the cost? Reasoning pays only on tasks that hold several steps in mind at once, so keep it low by default and prove each increase with a paired test. Rule Keep reasoning at its lowest setting by default. Turn it up per task, only where a paired test on your own items shows it earns its tokens and seconds.
  13. S1 E12 Recap · 15 slides · 9 October 2026 Season 1 recap Eleven episodes on how LLMs work in one place: the numbers that surprised, the eleven rules worth keeping, and one rule for the whole season. Rule Send the model what it needs, verify what it returns, and trust a measured rate over any single answer.