nn_timeline
Neural network architectures through time
Published May 14, 2026 (updated: May 29, 2026)
Note: Foundations chapters are available now. Later chapters are being added on a weekly basis.
1 Neural network architectures through time
A notes-first walk through the architectures that shaped modern deep learning — from the perceptron to the transformer. Each chapter pairs a science note (motivation, math, intuition) with a reference implementation in the nn_timeline package.
1.1 The timeline
NoteStatic MVP — interactivity coming
This sketch is a static placeholder. The roadmap is to make it interactive and dynamic:
- Hover / click each node to expand into mechanism + math + minimal sketch without leaving the page (better recall, less navigation friction).
- Sub-branches for parallel innovations (e.g., attention’s split into additive vs. multiplicative; positional encoding variants; LLaMA-style stack).
- Evolving updates — new architectures appended automatically as the registry grows; deprecated branches greyed out rather than removed so the why we moved on is preserved.
- Cross-links between related nodes (e.g., LSTM gates ↔︎ GRU gates ↔︎ Transformer gating in SwiGLU) to make conceptual lineage visible.
1.2 How to read this book
- Start with Foundations for the math and intuition.
- Each later chapter assumes the previous one; cross-references point back when a derivation depends on earlier material.
- Code references in each note point to the corresponding
nn_timeline.layers.*ornn_timeline.archs.*module.
1.3 Project
- Source: github.com/surafelml/nn-timeline
- Install:
pip install nn-timeline