Purpose

These notes treat deep learning as a modeling discipline, not just a list of branded architectures. The section starts with neural networks from first principles, then moves to the design choices that matter before the first training run, then covers the main architecture families that recur across language, vision, sequence modeling, and generative modeling.

The goal is not only to say what each model is. The goal is to make the implementation and the math line up. Most notes include:

  • the forward equations
  • the backpropagation view or training objective
  • a small NumPy implementation that exposes the mechanics
  • a more idiomatic PyTorch implementation, often with einops for shape clarity

Reading Path

  1. Neural Networks from Scratch
  2. Modeling, Architecture, and Data
  3. Recurrent Neural Networks
  4. Convolutional Neural Networks
  5. Decoder-Only Transformers
  6. Encoder-Decoder Transformers
  7. Diffusion Models
  8. Graph Neural Networks

Notes

Executable Companions

Sources