All Sheets
Practical cheat sheets to help you learn and build faster.
How a Transformer Processes Text – Visual Guide
A 20-page visual guide explaining how Transformers process text, from tokenization and embeddings to self-attention, multi-head attention, next-token prediction, and training, using clear diagrams and worked numerical examples.
Learning Rate vs Batch Size vs Epochs
Master the three essential deep learning hyperparameters—learning rate, batch size, and epochs—with visual training curves, practical tuning strategies, troubleshooting charts, and PyTorch and Keras examples.
Attention vs Self-Attention vs Cross-Attention – Visual Beginner's Guide
A visual beginner's guide to attention, self-attention, and cross-attention in deep learning. Learn Q, K, V, attention masks, multi-head attention, Transformers, and PyTorch implementation through diagrams and worked examples.
Activation Functions — Complete Visual Guide for Neural Networks
A 12-page visual guide to neural network activation functions, covering ReLU, Sigmoid, Tanh, GELU, SiLU, Softmax, gradient flow, weight initialization, performance comparisons, and practical PyTorch examples.
Tensors in AI
A 15-page visual guide to tensors in AI and deep learning. Master tensor rank, shape, indexing, reshaping, broadcasting, matrix multiplication, attention shapes, memory, autograd, and practical PyTorch operations.
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.