All Sheets
Practical cheat sheets to help you learn and build faster.
Parameters vs Hyperparameters vs Model Weights
An 11-page visual beginner’s guide to parameters, hyperparameters, and model weights in machine learning, with diagrams, worked examples, tuning strategies, model-size calculations, and practical Python examples.
Attention in AI
A 14-page visual guide to Attention in AI, covering Q/K/V, scaled dot-product attention, self & cross-attention, masking, multi-head attention, positional encoding, KV cache, FlashAttention, and practical NumPy + PyTorch code.
Gradient Descent vs SGD vs Adam
A 10-page visual beginner’s guide to Gradient Descent, SGD, mini-batch SGD, Adam and AdamW, with learning-rate guidance, momentum, real experiments, optimizer comparisons, and practical NumPy & PyTorch code.
Perceptron vs Multilayer Neural Network
A visual beginner’s guide to perceptrons and multilayer neural networks, covering hidden layers, XOR, activation functions, backpropagation, training, and practical Python examples.
CNN vs RNN vs Transformer
An 18-page visual beginner’s guide to CNNs, RNNs/LSTMs, and Transformers, covering how each architecture works, when to use it, attention, convolution, sequence memory, training, model selection, and practical PyTorch code.