STATE-AI COURSE GUIDE

State of AI in 2026: LLMs, Scaling, Agents & AGI

A chapter-by-chapter readback of the free course by Nathan Lambert & Sebastian Raschka on Lex Fridman.

Length4:25:13
Chapters18
Modules6
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.

Two people who actually build and train these models — an RLHF/post-training lead and a from-scratch LLM author — dissect the whole 2026 landscape, from MoE architectures to gigawatt clusters and the politics of open weights.

Who it's for
Read this guide if
  • You want a technically grounded 2026 state-of-the-field summary, not hype
  • You're deciding between open-weight models (DeepSeek, Qwen, GPT-OSS) and closed APIs
  • You want to understand RLVR, process reward models and why RLHF saturates
  • You're considering an ML career path between academia and frontier labs
Skip ahead if
  • You want a beginner tutorial on using ChatGPT
  • You expect a single dramatic AGI prediction or timeline
  • You need hands-on coding exercises rather than a research conversation
In brief
  • Runtime: 15,913 seconds (~4 hours 25 minutes) of panel discussion
  • 18 chapters organized into 6 chronological modules
  • Covers DeepSeek, GPT-OSS, Qwen, Kimi, OLMo, RLVR, GRPO, PPO, CUDA and NVIDIA
  • Level: intermediate to advanced — assumes familiarity with transformer basics
  • Guests: Nathan Lambert (Ai2, The RLHF Book) and Sebastian Raschka (Build a LLM From Scratch)

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

The 2025–2026 Model Landscape

This opening stretch sets the scoreboard: DeepSeek's R1 moment kicked off a Chinese open-weight wave (Z.ai, MiniMax, Kimi Moonshot), while Anthropic's Opus 4.5 hype showed how tight model differentiation has become. The panel also argues over who 'won' 2025 and how practitioners actually juggle speed versus intelligence across daily workloads.

0:00

Introduction

The episode opens by framing the 'DeepSeek moment' of January 2025, when the Chinese lab released DeepSeek R1 with near state-of-the-art performance and surprised the field. Sebastian argues no single company will hold exclusive technology in 2026, since researchers move between labs constantly — the real differentiator is budget and hardware, not secret ideas, so there is no winner-take-all scenario. Nathan notes the hype around Anthropic's Opus 4.5 (late November release) was organic and almost meme-like, while Google's Gemini 3 is excellent but receives less chatter, suggesting differences between top models are shrinking.

5:32

China's Open-Weight Wave

Beyond DeepSeek, the panel catalogs Chinese labs shipping strong open models: Z.ai with its GLM family, MiniMax, and Kimi Moonshot, with newer releases leapfrogging each other so the most recent model is usually best. Because Chinese companies historically collect little payment for software, open weights build goodwill and influence, especially since US firms won't buy Chinese API subscriptions over security concerns. Nathan predicts 2026 will have more open-model builders than 2025, mostly Chinese, before expensive research forces consolidation. Incentives differ too: MiniMax and Z.ai filed IPO paperwork while DeepSeek, backed by hedge fund High-Flyer Capital, stays secretive in goals but open in technical reports.

11:14

Which Model Won 2025?

Betting against OpenAI feels risky despite its operational chaos, since the incumbent is good at landing things; Gemini carried momentum in 2025 but from a low starting point after the Bard era. Mixed reviews of GPT-5 coexist with an admission that its router likely saved OpenAI significant GPU cost. For 2026 the panel expects Gemini to keep gaining given Google's scale and cleaner research/product separation, while Anthropic keeps winning enterprise and code. One caveat raised: coding-focused hype on Twitter may overstate real usage, because ChatGPT and Gemini serve enormous broad audiences whose 'muscle memory' feeds a recommendation flywheel.

13:30

Speed vs. Intelligence

The trade-off between fast answers and deep reasoning shaped 2025's products. One speaker wants an explicit toggle: quick models for daily lookups, but pro mode — waiting 10–30 minutes — for thorough document checks on references and figure numbers. The other avoids GPT-5's non-thinking mode over tone and error rate, habituated since o3, and often runs five pro queries in parallel for papers and code. A vivid example: needing an immediate bash script to chain experiments before a trip, he grabbed the fastest non-thinking model. Model loyalty, they note, forms from one standout feature and breaks after one dumb mistake.

Open Models, Coding Tools and Architecture

Moving into practice, this module contrasts how researchers actually use AI daily — Claude Code, Codex, Grok for real-time info — with the open-weight ecosystem's structure, from DeepSeek and Qwen to GPT-OSS. It then grounds everything in architecture, showing that GPT-2's decoder-only blueprint still underlies modern models, with mixture-of-experts and attention tweaks as the main changes.

15:22

Daily Workflows and Coding Tools

The panel compares tooling: one splits between Cursor and Claude Code; the other prefers the Codex plugin in VS Code for control over changes, deliberately using Claude Code to practice 'programming with English' at the macro-design level. Allocation by need emerges clearly — Gemini for fast, Google-able questions; Claude Opus 4.5 with extended thinking for code and philosophy; Grok for real-time AI-Twitter lookups, with Grok 4 Heavy impressive for hardcore debugging when other models fail. Claude Code also proved useful for data analysis, scraping Hugging Face download statistics for every dataset and model, work that would have taken days manually.

28:42

The Open-Weight Ecosystem

The Western and Chinese open ecosystems now each hold roughly ten notable model families: DeepSeek, Kimi, MiniMax, Z.ai, Qwen, Mistral, Gemma, GPT-OSS, NVIDIA Nemotron and more. OpenAI shipped its first open model since GPT-2 — GPT-OSS — while AI2's OLMo releases data and code, and Stanford's Marin project runs community experiments via GitHub issues. A structural split exists: Chinese open models tend to be large MoEs with higher peak performance, while Western ones like Gemma skew smaller, though Mistral Large 3 and teased 400B MoEs for Q1 2026 are set to change that balance. Licenses matter too — Chinese models impose few restrictions, unlike Llama or Gemma's user caps.

32:15

Tool Use and GPT-OSS

Standout releases included DeepSeek V3, R1 and December's V3.2 for architectural tweaks, plus Qwen 3 and GPT-OSS for strong familiar designs. GPT-OSS is likely the first open-weight model trained with tool use in mind — web search and Python interpreter calls — which the panel calls a paradigm shift, since tools cut hallucinations (searching who won the 1998 World Cup — France — instead of trusting memory). Sam Altman said OpenAI released it partly so users' GPUs do the work while OpenAI gains free distribution. The main barrier locally is trust: a model with tool access could wreck your system, so containerization is advised.

40:45

From GPT-2 to Today: MoE and Attention

Modern architectures remain a lineage of GPT-2's decoder-only transformer: embeddings, transformer blocks, one-token-at-a-time prediction. Mixture-of-experts expands the expensive fully connected layer — think a 1000×1000 mapping with a million connections — into roughly 256 experts with a router picking a few per token, packing in knowledge cheaply but risking training collapse, which is why Llama 3 stayed dense. Beyond that, changes are tweaks: grouped-query attention, RMS norm, a new activation function. The 2025 differentiator was KV-cache economics via attention variants like DeepSeek's multi-head latent attention, with late-2025 work — Qwen3-Next's gated DeltaNet — pushing toward linear scaling with token count.

Scaling Laws, Compute and Data

Here the discussion turns to what actually drives capability: three scaling axes (pre-training, RL, inference-time), the brutal economics of compute — a 1000-GPU rental runs about $100K/day — and the rise of data curation as the frontier lab's real work. Pre-training datasets now reach tens of trillions of tokens, funneled through classifiers and synthetic reformulations.

48:20

Three Scaling Laws

Scaling laws are power-law relationships between compute-plus-data and held-out next-token accuracy, and they have held across roughly thirteen orders of magnitude. Today there are three axes: pre-training scale, reinforcement-learning scale (OpenAI's o1 showed log-compute producing linear gains), and inference-time scaling, where models now spend seconds to hours on hidden reasoning before answering. RL with verifiable rewards simultaneously taught general tool skills — using CLIs, Git, file organization, search — abilities unthinkable a year earlier. Low-hanging fruit remains in RL and inference scaling, though nobody knows when the next step-function capability, like continual learning, will arrive.

53:00

The Cost of Scale and Gigawatt Clusters

DeepSeek's pre-training famously cost around $5M at cloud rates, and one paper itemized about $2M in GPU rental — but serving millions of users costs billions. GPT-4-class models were rumored near a trillion parameters, with serving costs dominating training. In 2026, gigawatt-scale Blackwell clusters arrive at hyperscalers, xAI reportedly reaching 1 gigawatt early and 2 by year-end; these contracts were signed back in 2022–2023, a 2–3 year lead time. At 10K–100K GPUs, hardware failures are constant — at 100K, at least one GPU is essentially always down — demanding redundant training code, and RL's learner/actor split suits heterogeneous worldwide compute.

1:04:20

Pre-, Mid- and Post-Training plus Data Curation

The pipeline now has three stages: pre-training via next-token prediction on trillions of tokens (5–10T for research models, roughly 50T documented, rumors of 100T), mid-training for specialized goals like long context, and post-training for skills. Data curation is the quiet frontier: labs built OCR models to extract candidate tokens from PDFs, train small models on sampled mixes from GitHub, Reddit, arXiv, then use linear regression to find optimal blends. Reddit and arXiv PDFs rank as premium sources — AI2 runs Semantic Scholar to scrape openly accessible science. OLMo 3 beat rivals with less data, showing quality over quantity, and 'pre-training is dead' is described as a vibe, not practice.

1:37:31

RLVR, Contamination and Benchmark Doubts

RLVR — reinforcement learning with verifiable rewards — is named 2025's biggest post-training idea: generate answers, grade correctness (math, code, instruction constraints like 'use only words starting with a'), and use accuracy as reward. A hands-on run took a base model from about 15% to 50% on MMLU-adjacent Math 500 in just 50 steps, too few to learn new knowledge — RL unlocks, not teaches. Contamination shadows results: papers report Qwen mid-training on problems nearly identical to math benchmarks, and changing only numbers in word problems yields impossible high-precision answers. The speaker calls contamination the biggest problem in LLM research, since only post-cutoff benchmarks are fair.

Learning and Careers in the LLM Era

The two authors turn educators: the most reliable way to internalize how LLMs work is rebuilding a small model from scratch and unit-testing against reference implementations — reproducing OLMo-3 took about a day. The module closes with career calculus, weighing PhD freedom against frontier-lab pay where OpenAI's average compensation exceeds a million dollars a year in stock.

1:57:11

Learn by Building From Scratch

Both guests advocate implementing a small LLM on your own machine — pre-training, supervised fine-tuning, attention — not to replace production models but to understand inputs and outputs, because 'code doesn't lie.' Hugging Face Transformers, with roughly 400 architectures in hundreds of thousands of lines, is the reference to work backwards from; production instead uses SGLang or vLLM. The recommended exercise: read a model's config file, rebuild it from a GPT-2 baseline, load pre-trained weights, and match outputs. Reproducing OLMo-3 took about a day, the hard part being a YaRN RoPE extension. DPO's skipped derivation steps, they add, are something an LLM can help you fill in.

Alternatives, Memory and Context Engineering

This forward-looking module covers the challengers and constraints: text diffusion models generate tokens in parallel but trade quality for speed; continual learning remains unsolved, with context stuffing expensive but practical. Hybrid attention ratios — as in NVIDIA's Nemotron 3 — and agents managing their own compaction emerge as the likely near-term research frontier.

2:29:00

Text Diffusion Models

Diffusion, popularized for images by Stable Diffusion, applied to text means iteratively refining noisy text toward coherence — BERT-like masked filling, generating many tokens in parallel rather than one at a time. The catch: matching autoregressive quality requires enough denoising steps that total compute ends up similar, though speed per completion can be dramatically better — GPT-5 might spend 30 minutes token-by-token where a diffusion model batches everything at once. Startups already use diffusion for code diffs in vibe-coding, where lost seconds churn users. The panel predicts diffusion won't replace autoregressive LLMs but will own quick, cheap, at-scale tasks, with tool use as the main blocker to generality.

2:43:20

Memory, Long Context and Continual Learning

Today's 'memory' is mostly context stuffing — costly and style-level rather than true learning. LoRA adapters allow per-user tweaks, but the literature verdict is that LoRA 'learns less but forgets less.' Contexts have hit about a million tokens; 100 million would be a real breakthrough. The trade-off sits between transformers remembering every token (accurate, costly) and compressed fixed-size states like Mamba layers (cheap, forgetful), with Nemotron 3 praised for a good attention-to-compressed-layer ratio. The recursive language model paper shows breaking long context into smaller tool-using subtasks beats one giant call, and future agents may learn compaction itself as a trained RL action.

Agents, Policy and What Comes Next

The finale tackles automation and geopolitics: the AI 2027 'superhuman coder' scenario meets a 'jagged capabilities' rebuttal, the US open-model gap gets a policy answer in the ATOM project and a $100M NSF grant to AI2, and NVIDIA's moat is located in CUDA's two-decade ecosystem rather than silicon. It closes on AGI definitions and what history will remember.

3:05:23

Agents and the Superhuman Coder Debate

The AI 2027 scenario chains superhuman coder to superhuman researcher to ASI, with its original 2027–28 prediction now pushed to a 2031 mean; the panel's own estimates run longer, especially for automating research. The counterargument: capabilities are 'jagged' — Claude Code can build a beautiful website in hours yet struggle at distributed ML where training data is scarce — so 'superhuman coder' wrongly assigns completeness to uneven skill. Proposed metric: fraction of useful lines of code per human in the loop. Skepticism often reflects under-specification rather than model limits, spec-driven design is spreading, and failures are 'dumb' but fixable, like Claude retrying an uninstalled CLI command fourteen times.

3:50:54

Open-Model Policy and NVIDIA's Moat

With LLaMA's decline after benchmark-chasing LLaMA 4, Chinese models filled the US open gap — in one July stretch, four or five DeepSeek-caliber Chinese releases shipped and zero American ones. Nathan's ATOM project (American Truly Open Models) pushes US-built open weights, backed by AI2's $100M NSF grant over four years and Reflection AI's $2B fundraise; the 2025 White House AI Action Plan even encourages open-weight AI. Banning open models would require an impossible internet restructuring given $1–100M training costs. On hardware, NVIDIA's moat is CUDA's ecosystem, and the training/inference split favors new inference-specialized chips like Vera Rubin without high-bandwidth memory.

4:21:40

AGI, Bubbles and Looking Ahead

Working AGI definitions center on an AI dropping in as a remote worker across most digital economic work — a framing one guest dislikes, preferring GDP-impact questions, since no economic leap has yet materialized. He predicts AGI-style tiering is overconfident but praises AI 2027's concrete storytelling. Historically, he suspects century-later accounts will emphasize computing and Moore's-law-scale compute over any AI detail, with 'deep learning' surviving as a remembered term like the Industrial Revolution's engine. Quiet wins — LLMs making all human knowledge askable worldwide with falling hallucination — may drive long-term innovation more than any benchmark, and physical human experience will gain premium value as AI slop spreads.

Moment by moment

TimeWhy it matters
5:32The DeepSeek R1 'moment' and why Chinese open weights are reshaping the field
32:15GPT-OSS as the first open model trained for tool use — a paradigm shift
48:20The three scaling laws explained: pre-training, RL, and inference-time
1:37:31RLVR explained — and why benchmark contamination taints its headline results
3:05:23The 'superhuman coder' scenario debated against jagged capabilities

Do this next

  1. Rebuild a small GPT-2-scale model from scratch and verify outputs against a Hugging Face Transformers reference implementation
  2. Read the DeepSeek R1 and DeepSeek Math v2 papers, focusing on MoE design and the 'aha moment' sections
  3. Pick one narrow area (e.g., character training, evaluation design) and read the ~3 key papers, then email the authors with substantive questions

Common questions

What was the 'DeepSeek moment'?

In January 2025, Chinese lab DeepSeek released DeepSeek R1 with near state-of-the-art performance, shocking the field and proving open-weight models could compete at the frontier. It kicked off a broader Chinese open-source movement — Z.ai's GLM, MiniMax, and Kimi Moonshot all followed — similar to ChatGPT's effect in the US, with newer releases leapfrogging DeepSeek itself.

Why do Chinese companies release open-weight models?

Primarily for worldwide adoption and influence. US companies won't pay for Chinese API subscriptions due to security concerns, so giving away weights builds goodwill while models run locally, meaning user data never leaves the user's machine. Licenses are also essentially unrestricted compared to Llama or Gemma's user-count caps, making them attractive to host and customize.

What is RLVR and why does it matter?

Reinforcement learning with verifiable rewards grades model completions on correctness — math, code, factual constraints — and uses accuracy as the reward, scaling far beyond RLHF's learned reward model. It taught models tool use (Git, CLIs, search) and links to inference-time scaling. OpenAI's o1 showed a real scaling law: log more compute, linear accuracy gains — something RLHF never demonstrated.

Are modern LLM architectures really different from GPT-2?

Fundamentally no — they're still GPT-2-style decoder-only transformers. Changes are incremental: mixture-of-experts for sparse capacity, grouped-query or multi-head latent attention to shrink the KV cache, RMS norm, and new activation functions. The 2025 differentiators were attention variants for cheaper inference and Qwen3-Next's gated DeltaNet pushing toward linear scaling with token count.

How much does it cost to pre-train a frontier-class model?

Far less than serving: DeepSeek's pre-training cost about $5M at cloud rates, and one paper itemized roughly $2M in GPU rental. Serving millions of users costs billions. A 1000-GPU cluster rents for about $100K per day, and at 100K-GPU scale at least one GPU is essentially always broken, requiring redundant training code.

Is pre-training dead?

The panel calls 'pre-training is dead' a vibe, not practice. Pre-training still consumes most compute because the best base model matters, but the low-hanging fruit has shifted to RL and inference-time scaling — GPT-4.5 showed that bigger pre-training alone is 'not worth it' when o1-style inference scaling took a smaller model further per dollar.

What is the benchmark contamination problem?

Papers report Qwen base models underwent mid-training on problems nearly identical to math test sets — changing only the numbers in word problems produced high-precision decimal answers impossible without tools. This casts doubt on RLVR results measured on such benchmarks, and even MMLU scores shift with trivial formatting changes. Only benchmarks created after a model's cutoff are considered fair.

Will text diffusion replace autoregressive LLMs?

Probably not as a replacement. Matching autoregressive quality requires enough denoising steps that total compute ends up similar, and interrupting generation for tool calls — essential in agent workflows — remains unsolved for diffusion. But parallel generation is much faster per completion, so the prediction is diffusion winning quick, cheap, at-scale tasks like code diffs, possibly as free-tier offerings.

Spot a mistake?

Every chapter summary above is hand-checked against the video, but a 4.5-hour expert conversation invites slips. If you spot a misattributed quote, timestamp, or claim, email us and we'll correct it.

More course guides