source docs/learning-pipeline.md · view on GitHub ↗

Learning Pipeline

The owner’s learning track is now explicitly ground-up. It still reinforces the posttrainllm factory, but it does not start with post-training jargon.

Primary path:

math intuition -> tiny neural net -> training loop -> transformer
-> LLM behavior -> post-training -> evals -> self-improving factory

Learning is not separate from building; every module should eventually make the next run better.

Progress is tracked in learning-progress.md.

Principle

concept -> toy implementation -> posttrainllm anchor -> recipe improvement

If a learning topic does not improve target selection, data, post-training, eval, packaging, or reporting, park it until it does.

Ground-Up Master Roadmap

The canonical roadmap is docs/learn/curriculum.md.

It defines the 10-module path:

  1. functions, data, parameters
  2. loss and gradient descent
  3. vectors, matrices, tensors
  4. non-linear neural nets and backprop
  5. ML paradigms and scaling
  6. tokenization, embeddings, language modeling
  7. attention and transformer blocks
  8. training mechanics
  9. post-training: SFT, LoRA, preference tuning
  10. evals, rewards, and self-improvement

The SQL factory is the lab, not the starting point. Do not skip the foundation unless the module mastery gate can be passed out loud.

All ten modules now have a polished session. For the guarantee that every shipped subsystem (post-training internals, quantization, serving, interpretability, WASM/WebGPU, VLM, the factory loop) also has a learning anchor, see docs/learn/coverage-map.md.

Factory-Attached Learning Sequence

OrderTopicWhy NowProject Work It UnlocksPrimary Docs
1Eval designBad evals create fake progressfrozen gates, slice metrics, leakage checks, regression gatesdocs/factory/eval-protocol.md, docs/learn/eval-methodology-2026-06-08.md
2Data for post-trainingMost improvement is data/reward shape, not optimizer noveltySFT rows, preference pairs, candidate sets, synthetic data, trace-to-datadocs/factory/post-training-factory.md, docs/recipes/from-traces.md
3SFT + LoRA mechanicsCurrent SQL wins came from SFT/LoRA; failures need adapter diagnosisrank/layer sweeps, LoRA geometry, overfit checksdocs/training/sft.md, docs/lora_guide.md, docs/factory/lora-geometry.md
4Preference tuningHygiene SimPO collapsed; need to understand whyreference-anchored DPO retry, length-balanced negatives, KL/reference anchoringdocs/training/dpo.md, docs/techniques/method-vs-recipe.md
5Verifiable rewardsSQL/tool-calling improvement needs executable rewardsSQL execution reward, BFCL AST reward, unit-test rewardsdocs/techniques/sql-technique-backlog.md, docs/learn/tool-calling-frontier-parity.md
6RLVR / ReST / OAPLOnly useful after reward surfaces are cleanbatch rollouts, offline scoring, policy lag, candidate selectiondocs/factory/batch-posttraining.md, docs/learn/advanced-llm-training.md
7Failure analysisFailed runs must become datatrace review, failure taxonomy, targeted retry datadocs/factory/reports.md, docs/attempt-ledger.md
8Public reportingPublic artifacts are a product surfacecase-study reports, blockers, competition comparison, reproduction notesdocs/factory/case-study-template.md, docs/factory/public-artifacts.md

Current Practical Curriculum

This is the project lab sequence. It should run alongside the ground-up path, not replace it.

Module 1 — SQL Eval Quality

Goal: know when a SQL improvement claim is real.

Do:

Deliverable:

Module 2 — Candidate Selection

Goal: understand why “choose the best answer” can be easier than open generation.

Do:

Deliverable:

Module 3 — Preference Tuning Failure

Goal: explain the failed hygiene SimPO run without hand-waving.

Do:

Deliverable:

Module 4 — Adapter Geometry

Goal: see whether adapter failures are capacity, targeting, or optimization problems.

Do:

Deliverable:

Learning Is Complete For A Topic When