FROM FIRST PRINCIPLES TO SYSTEMS

How language models actually work

From first principles to efficient inference in 106 complete lessons per language. Every claim cited, every lab grounded in real numbers, nothing behind a login.

Systems reference for CPU inference with weight streaming: Kimi K3 in C.

10
published tracks
106
lessons
2
EN + PT-BR
  1. INTUITION
  2. MECHANISM
  3. EVIDENCE
  4. SYSTEMS

SECTION 01 · TOKEN TO SYSTEM

LEARNING PROTOCOL

Every lesson is a complete investigation

You do not just consume content. You follow the mechanism, test the idea, and prove you can explain it.

  1. 01Concept

    The actual mechanism, with no hand-waving.

  2. 02Analogy

    The same idea in plain language.

  3. 03Lab

    Real numbers, computed live.

  4. 04Teach-back

    You rebuild the idea in your own words.

  5. 05Quiz

    The right answer comes with the reason.

A lesson finishes only when your explanation has substance and the quiz is right. Your writing stays in this browser.

CURRICULUM SURVEY

The complete path, layer by layer

10 published tracks form one continuous descent, from foundations to the silicon that runs the model.

  1. 01Foundations · 8 lessonsOrientation & FoundationsBuild an accurate mental model of language models and the mathematics needed for everything that follows.Enter track
  2. 02Foundations · 7 lessonsFrom Text to TensorsSee how text becomes tokens, vectors, and numerical structures a neural network can process.Enter track
  3. 03Foundations · 9 lessonsNeural Network FundamentalsLearn how neural networks represent functions, measure error, propagate gradients, and improve through optimization.Enter track
  4. 04Core · 6 lessonsSequence ModelsFollow the path from recurrent state to encoder-decoder models and attention, the immediate ancestors of the Transformer.Enter track
  5. 05Core · 17 lessonsThe TransformerAssemble the architecture behind modern LLMs, beginning with self-attention and its query, key, and value operations.Enter track
  6. 06Advanced · 13 lessonsPretraining at ScaleDesign the objectives, data, optimization, parallelism, and cost model behind a serious language-model pretraining run.Enter track
  7. 07Advanced · 11 lessonsPost-training & AlignmentTurn pretrained predictors into useful assistants through instruction tuning, preference learning, reinforcement learning, and distillation.Enter track
  8. 08Advanced · 13 lessonsInference & EfficiencyUnderstand how trained models generate text and how decoding choices trade off diversity, coherence, latency, and cost.Enter track
  9. 09Advanced · 12 lessonsBuilding & Serving StacksMaster the software that actually runs Qwen3.8-27B — PyTorch, Transformers, vLLM, SGLang, TensorRT-LLM, llama.cpp, Ollama, MLX, and Modular MAX — and learn which one each situation calls for.Enter track
  10. 10Frontier · 10 lessonsHardware & InfrastructureUnderstand the silicon beneath Qwen3.8-27B — NVIDIA, AMD, Apple, Qualcomm, and Cerebras — and the bandwidth, roofline, and cost arithmetic that decides what runs where, and for how much.Enter track

106 complete lessons per language across 10 tracks, with EN + PT-BR parity.

DEPTH WITHOUT SURVEILLANCE

No account. No paywall. No tracking.

Your progress belongs to your device. The code and curriculum remain open.

Start the descent