Skip to content
posttrainllm docs
Esc
navigateopen⌘Jpreview
On this page

Learn

posttrainllm's learning corpus — a ground-up curriculum from "what's a neural net" to modern training mechanics, plus reference + research notes.

posttrainllm learning corpus

A reading map for the docs/learn/ directory. Three reading paths depending on what you want.

Start here for ground-up learning: Curriculum overview. It is the 10-module path from functions and loss to transformers, post-training, evals, rewards, and the self-improving factory.

Start here for Mac-local scope: Mac-local AI mastery map — the living agenda: everything buildable on a Mac, what’s already covered, and the single-machine ↔ distributed boundary.

For the active owner learning sequence tied to current factory work, use ../learning-pipeline.md. It orders eval design, post-training data, SFT/LoRA, preference tuning, verifiable rewards, RLVR/OAPL, failure analysis, and public reporting around the SQL/factory loop.

I want to learn ML from scratch

Read these in order — the curriculum is designed as a single arc from basic math to modern transformer training. Each session is self-contained but builds on the last.

  • Curriculum overview — the 10-module ground-up roadmap, mastery gates, exercises, and project anchors.
  • Coverage map — the index proving every project subsystem has a learning anchor (read after the curriculum).

Read the sessions in module order (session file numbers are creation order, not reading order):

I want the modern-LLM mechanics reference

These document the architectural + algorithmic choices that show up in current LLMs. They’re for someone who knows the basics and wants the “why” behind specific designs (RoPE, GQA, MoE, etc.).

  • LLM mechanics fundamentals — RoPE, GQA, attention variants, MoE, expert routing
  • Mathematically essential vs engineering optimization — the project split: the math that defines the model’s function (oracle = python_ref/model.py) vs the optimization layer that only makes it faster/smaller; and loss drift, the number that polices the boundary
  • The WebGPU execution model — device/queue, pipeline, dispatch, workgroups, invocations, bind groups, the memory hierarchy; how our matmul + attention shaders map onto it (read before the .wgsl files)

Interview-grade topic maps (what / why-it-matters-here / external source / repo anchor — for senior/staff prep):

I want session-specific decisions + project state

Captured-in-the-moment notes from real training sessions and decision points.

Conventions

  • Each session has a one-sentence “where we’re starting” up top — read that first.
  • Annotated diagrams (in text) prefer ASCII over images so they’re readable in git diffs and on every renderer.
  • “Why this matters to THIS project” is called out where applicable — the curriculum isn’t generic, it’s anchored to posttrainllm’s choices.
  • Annotated retroactively when an earlier claim turns out wrong (see eval-matrix’s 2026-06-09 addendum for an example).
  • Top-level docs/PLAN.md — long-term project roadmap (not learning material)
  • Top-level docs/prds/ — per-feature PRDs (not learning material)
  • Memory entries (private to my agent context) capture decisions + doctrine separately

Was this page helpful?