AnyLearn
All cursus
AIintermediate

🧬How LLMs work: from scratch

Ten lessons that build up a modern LLM end to end — neural nets and backprop, attention and transformers, tokenization, pretraining, modern architectures and MoE, scaling laws, post-training (SFT/RLHF/DPO), and inference internals like the KV cache.

0 of 10 lessons complete
Sign in to track progress and earn a certificate.

Lessons in order

  1. 1
    AI
    Neural Networks and Backpropagation
    Start
  2. 2
    AI
    Attention and Transformers
    Start
  3. 3
    AI
    Training: Optimization and Regularization
    Start
  4. 4
    AI
    LLM Tokenization in Depth: BPE, Byte-Level BPE, and SentencePiece
    Start
  5. 5
    AI
    LLM Pretraining: Data, Loss, and What Actually Happens
    Start
  6. 6
    AI
    Modern LLM Architectures: From Decoder-Only to Mixture-of-Experts
    Start
  7. 7
    AI
    LLM Scaling Laws: From Kaplan to Chinchilla and Beyond
    Start
  8. 8
    AI
    LLM Post-Training: SFT, RLHF, DPO, and Modern Alignment Recipes
    Start
  9. 9
    AI
    LLM Inference Internals: KV Cache, Sampling, and Serving at Scale
    Start
  10. 10
    AI
    Context windows: tokens, limits, and "lost in the middle"
    Start