PaperLeet

LLM Training & Generation · 训练与生成入门

LLM Training and Generation: Small Implementation Exercises

PaperLeet original curriculum; primary documentation linked per exercise

Read source material

From next-token targets and response masks to candidate probabilities, token-weighted accumulation and global clipping.

What you will implement

Seven standalone exercises with explicit shifting, masks, ties and reductions; deterministic probability experiments and actual small-model gradient updates.