Skip to visualizations
Foundation and research timeline · 2017–2026

Visualizations to understand
LLM Internals with Code

The LLM Improvement Visualizer is a free collection of interactive, code-linked walkthroughs of transformer internals. Each lesson pairs readable PyTorch with a live flow diagram so you can inspect tensor shapes, compute costs, memory savings, and the primary research.

Scroll the research timeline · hover a technique to preview
Block × N Input tokens Token Embedding Multi-Head Attention Add & Norm Feed Forward (MLP) Add & Norm Final LayerNorm Linear → Vocab Softmax next-token probabilities ◆ technique change
a decoder-only LLM (GPT)
Embedding
Position
Attention
MLP
Norm
Output