AI by Hand ✍️
Math, Algorithms, Architectures, by hand. Click to read AI by Hand ✍️, by Prof. Tom Yeh, a Substack publication with tens of thousands of subscribers.
- Posts
- 346 from 15 Dec 2023 to 5 Oct 2026
- Posting
- about daily (218 in the last year)
- Kind
- personal blog
- Feed
- https://www.byhand.ai/feed
2026 200
- Jev to Kernels by Hand ~ Dr. Dandekar, PhD. MIT
- RNNs by Hand, in Excel
- Small Language Model
- Library sheets rnn loss
- Autoregressive
- Library sheets rnn tokens
- Seq2Seq
- Library sheets rnn depth
- Outputs
- Library sheets rnn size
- Recurrence
- AI by Hand ✍️ Yantra Jnana Award
- Counting AI by Hand ✍️ ~ Recordings
- Loop Engineering (coming soon, Sep 3, 2026)
- Agent Tokens (Jul 14, 2026)
- Transformer Ops (Jun 23, 2026)
- Kimi 3 ~ New Seminar Recording
- Context Problems
- Cost Forecast
- Quadratic Cost
- Context Tax
- Retrieval Cost
- Stateless API
- Verbatim Tail
- The Compaction Threshold
- Compacted Retrieval
- The Compaction Bill
- Compaction
- Truncation
- Window Sizing
- Search Rounds
- Retrieval per Turn
- Retrieval Footprint
- Turn Budget
- Remaining Space
- Growth per Turn
- Window Occupancy
- The Context Window
- Full Fine-Tuning vs LoRA
- New Series! Multi-Layer Perceptron (MLP)
- Library models mlp heads
- Two-Tower MLP
- Library models mlp gan
- Shrink then Expand
- Expand then Shrink
- Autoencoder
- Decoder
- Encoder
- Binary Classifier
- Library models mlp deep
- Library models mlp wide
- Perceptron
- Deep Learning by Hand ✍️ 2026
- Autoencoder
- Library videos deeplearning 2026 svm
- Library videos deeplearning 2026 mlp
- Neural Network
- Linear Algebra
- Frontier AI Software Engineering Seminar #7 ~ Richard Hsu, Nuro + previous recordings
- Qwen 3.6 (May 21, 2026)
- Calculating AI by Hand ✍️
- Seminar Series 2026
- Seminar Series 2025
- Matrix Multiplication
- Library
- Frontier AI Drawings
- Token Problems
- Usage Audit
- Rate Cards
- Output Bound
- Two Speeds
- Token Allowance
- Budget Ceiling
- Fixed Overhead
- Standing Instructions
- Usage Forecast
- Token Mix
- Words to Cents
- Asymmetric Pricing
- The Billing Line
- Prompt and Completion
- Token Pricing
- Headroom
- Token Ratio
- Non-Word Tokens
- Subword Tokens
- Tokenization
- Attention
- Grouped-Query Attention
- Multi-Query Attention
- Fused QKV (Multi-Head)
- Multi-Head Attention
- Self Attention (Shared KV)
- Cross Attention
- Self Attention
- Attention Computation
- QKV Projection
- New Seminar Series: Frontier in AI Software Engineering
- Gemma 4 (May 7, 2026)
- Activation chapter, complete: 12 interactive lessons
- Library math activation swiglu
- Library math activation glu
- Softplus
- Log-Sum-Exp
- Library math activation gelu
- Library math activation silu
- Library math activation elu
- Library math activation tanh
- Activation
- Sigmoid
- Softmax
- Leaky ReLU
- Library math activation relu
- Seminar next week ~ Google's Gemma 4
- Single vs Multi-Head Attention
- Self Attention vs Cross Attention
- Fine-Tuning
- Library models fine tuning lora intro
- Adapter Layers
- Feature Extraction + Head
- Linear Probe
- Freezing Layers
- Full Fine-Tuning
- Pretrain vs Fine-Tune
- Weight Update
- The Library is Live! ~ check your access
- Two New Interactive Workbooks ~ Matmul & Linear Layer
- My Deep Learning Math Workbook — Now Interactive
- AI by Hand Library ~ Attention, MHA, MQA, GQA
- Self Attention Flow ~ New Release!
- Matmul Flow ~ New Visualization Tool
- SwiGLU: The Activation Function Behind Frontier AI
- AI Isn't Human
- PPO → DPO → GRPO → Rubrics (Mar 2, 2026)
- Entropy
- GAN ~ draw by hand
- PPO Clipped Policy Loss Algorithm
- Essential AI Math #16 to #20
- OpenClaw Seminar (Feb 23, 2026)
- GLU (Gated Linear Unit)
- Tanh
- GELU (Gaussian Error Linear Unit)
- Swish (SiLU)
- ELU (Exponential Linear Unit)
- Essential AI Math #11 to #15
- CNN ~ draw by hand ✍️
- KL Divergence
- Binary Cross Entropy Loss
- L2 Loss
- Transformer: Six Levels of Understanding (Feb 13, 2026)
- L2 Norm
- Cross Entropy Loss
- Chapter 1 - Foundation
- First Seven AI by Hand Seminars - Roundup
- Debouncing in OpenClaw - A Study Guide
- First 10 Essential AI Math Blueprints
- RMS Normalization
- Layer Normalization
- Batch Normalization
- OpenClaw
- Sinusoidal Positional Encoding
- Leaky ReLU
- Relu
- Double Sum
- Negative Log-Likelihood
- Meta Superintelligence Labs vs Facebook AI Research (Jan 30, 2026)
- Building Multi-Agents from Paper 📝 by Hand ✍️
- Sigmoid
- Softmax
- 9 AI Eval Formulas You Must Know (Jan 24, 2026)
- Google Ironwood TPU: From Bits to HBM
- The Architect: New Open Source Tool from the AI by Hand Lab
- Google Ironwood TPU: From Bits to HBM (Jan 19, 2026)
- Module 4: Tool Use
- Module 3: Vector Database
- Module 2: LLM to RAG to Agents
- Tiled Algorithm
- Linear Equations
- Inverse
- Transpose
- Chapter 12 chain
- Distributive
- Associative
- Not Commutative
- Combine Columns
- Combine Rows
- Chapter 6 shift
- Chapter 5 scale
- Identity
- Chapter 3 shape
- Complexity
- Calculate
- Module 1: Foundation
- Attention (Jan 15, 2026)
- Coding on Paper with Tivadar Danka
- How Small Models Learn Tool Use (Jan 11, 2026)
- Generative AI (Jan 11, 2026)
- Manifold-Constrained Hyper Connections (mHC) from DeepSeek (Jan 9, 2026)
- AI by Hand ✍️ Academy
- My 2026 resolution: a weekly AI seminar — for everyone
2025 70
- Gated Attention ~ NeurIPS 2025 Best Paper (Dec 18, 2025)
- Agentic AI Problem Set
- Mistral 3
- Mistral 3 Live! (12/9)
- Can AI Find its Own Poetic Voice?
- Sharding
- AI by Hand ✍️ Academy
- Deep Learning Math Workbook
- MCP Workbook
- RLHF PPO Blueprint
- AI by Hand ✍️ Academy
- AI by Hand ✍️ 2026 Desk Calendar
- ResNet, ViT, Qwen3 Blueprint (Google Bonsai)
- Agent Hallucination (Nov 12, 2025)
- Einsum: Outer Product to GQA
- LLM vs RAG vs Agent Workbook
- LinearLayer+LoRA: PyTorch, BLAS, CUDA
- GPU by Hand ✍️ Together (Nov 2, 2025)
- DeepSeek OCR
- DeepSeek Attention (DSA)
- GPU by Hand ✍️ Together
- Linear Regression Workbook
- Qwen 3
- AI book I love in October
- Finished the workbook? Claim your official AI by Hand ✍️ certificate
- RMS, Group, Layer, Batch Norm, Tensor Parallelism
- RoPE vs PE in QKV Self-Attention
- MLP Parallelism: Data, Context, Row, Column, Pipeline
- Paper Club, A2A Lecture, Intro to AI Agents Course
- Inference Batching, Request-vs-Token Level
- Next Tuesday: New AI by Hand ✍️ Mini Course by Mohsena Begins
- EmbeddingGemma, MRL, InfoNCE, Embed vs. Decode
- Intro to Gen AI Mini Course
- KV Cache, Prefill, Decode
- 18th AI by Hand ✍️ Workshops
- QLoRA, DoRA, BitFit, NF4 vs INT4
- This Week’s AI by Hand ✍️ Events
- 17th AI by Hand ✍️ Workshops
- Intro to Gen AI Mini Course
- LoRA, Fine-Tune, Pre-Train
- MXFP4, FP4, FP8
- Scaling LLMs by Hand ✍️ in JAX (Aug 13, 2025)
- 16th AI by Hand ✍️ Workshops
- MHA, MQA, GQA, MoE-A: More Attention!
- New GPT-OSS Trick to Ignore Tokens
- NN to Transformer by Hand ✍️
- Expert Choice Mixture of Experts (MoE)
- Special Lecture: From Neural Networks to Transformers
- 🔥 New: Frontier Subscription
- Batch Normalization by Hand ✍️
- Adding Two Arrays in GPU by Hand ✍️
- Context Engineering by Hand ✍️
- Matmul on GPU/TPU by Hand ✍️
- MCP by hand ✍️
- Transformer by hand ✍️
- CS Isn’t the Top Major Anymore. Guess What Is.
- AI by Hand ✍️ Workshop
- Math Workshop, Certificates
- LLaMA 1 → 2 → 3 → 4 (May 14, 2025)
- Deep Learning Math Workshop
- India Edition, ResNet, Fundamentals vs Tools
- Gradient, CNN, Evolution of Deep Learning
- GAN, C++, Love to Learn
- Wide, ML Interviews, Llama 4 Live
- Llama 4, Keep Up, Totoro
- Introduction to Agentic AI
- Draw DeepSeek (Feb 20, 2025)
- Computer Vision Lectures
- DeepSeek Lecture - Followup
- DeepSeek by Hand ✍️ in Excel
2024 73
- Xlstm
- Multihead Attention
- Temperature
- AI by Hand 2025 Calendar
- "Full-Stack" Transformer
- Building a Vector Database in Excel
- Livestream Today!
- 10K Subscribers! Live Stream (10/31)
- Beginner's Guide to Multi-Agents
- AlphaFold
- Geoff Hinton - Evolution of Deep Learning by Hand ✍️
- Query Rewriting RAG
- Backpropagation
- Beginner's Guide to Graph RAG
- BitNet by Hand ✍️
- OpenAI Strawberry 🍓
- Recurrent Neural Network
- Self Attention - Spreadsheet
- Beginner's Guide to RAG Evaluation
- Multi-Layer Perceptron (MLP) - Spreadsheet
- Vector Database - Spreadsheet
- Transformer - Spreadsheet
- Discrete Fourier Transform by Hand ✍️
- Superposition by Hand ✍️
- LSTM by Hand ✍️
- Beginner's Guide to RAG Agents
- Sparse Auto Encoder (SAE) by Hand ✍️
- Beginner's Guide to RAG
- Are Emergent Abilities of Large Language Models a Mirage?
- xLSTM: Extended Long Short-Term Memory
- Variational Auto Encoder (VAE) by Hand ✍️
- Build a Vector Computer with Superlinked
- A Note on LoRA
- LoRA: Low-Rank Adaptation of Large Language Models
- KAN: Kolmogorov-Arnold Networks
- Better & Faster Large Language Models via Multi-token Prediction
- SVM, Self Attention, Linear Layer, Workbook Videos
- W12 - Gradient
- LLaMA 3 Live Panel
- LLaMA 3, Sora, Artificial Neuron, RLHF, Transformer
- U-Net, Transformer, Activation, Backpropagation, MLP
- W11 - Softmax
- W10 - Wide
- W9 - Deep
- W8 - Hidden Layer
- W7 - Connection
- W6 - Batch
- Beginner's Guide to Vector Databases
- W5 - Artificial Neuron
- W4 - Activation
- W3 - Linear Layer
- W2 - Matrix Multiplication
- W1 - Dot Product
- Deep RNN by Hand ✍️
- SVM by Hand ✍️
- U-Net by Hand ✍️
- Reinforcement Learning with Human Feedback (RLHF) by Hand ✍️
- Switch Transformer by Hand ✍️
- Sora's Diffusion Transformer (DiT) by Hand ✍️
- Graph Convolutional Network (GCN) by Hand ✍️
- Residual Network by Hand ✍️
- CLIP by Hand ✍️
- Vector Database by Hand ✍️
- Autoencoder by Hand ✍️
- Dropout by Hand ✍️
- Self Attention by Hand ✍️
- Generative Adversarial Network (GAN) by Hand ✍️
- Batch Normalization by Hand ✍️
- Transformer by Hand ✍️
- Backpropagation by Hand ✍️
- Multi Layer Perceptron (MLP) by Hand ✍️
- Sampling a Sentence by Hand ✍️
- Matrix Multiplication by Hand ✍️