Master AI & LLM Engineering Interviews From First Principles.
196 technical study guides with math derivations, system diagrams, and Python codeβpaired with 30 behavioral frameworks, 471 ML engineering blogs, and structured university courses.
Prefer jumping straight into technical Q&A? Browse Interview Prep β
When should you choose L1 (MAE) vs. L2 (MSE) loss?
- L1 penalizes errors linearly with constant Β±1 gradients (predicts median); L2 squares errors for smooth gradients (predicts mean).
- L1 resists outliers but has a corner at 0; L2 converges smoothly but outliers pull the fit.
Calculate VRAM, KV-Cache & Decode Bottlenecks
LLM VRAM & KV-Cache Calculator
MHA / GQA / DeepSeek MLA, exact binary GiB usable VRAM, GGUF & Apple Silicon, plus Hugging Face config.json auto-fetch.
Decode Roofline & Throughput
Dense vs. MoE arithmetic intensity, HBM bandwidth bound vs. compute bound, and realistic batch B=1β64 tok/s.
LoRA & QLoRA VRAM Estimator
Full FT vs. LoRA vs. 4-bit QLoRA weights, AdamW optimizer states, gradients, and activations in binary GiB.
Every Round of the AI & ML Loop
Theory & Frontier LLMs
Probability, bias-variance, L1/L2, trees, SVMs, Adam & metrics
Attention, MoE routing, RLHF, perplexity, VAEs, GANs & safety
FlashAttention, PagedAttention, RoPE, LoRA, DPO, PTQ & ReAct
Responses API, Strict JSON, 429 backoff, SSE streaming & caching
Systems, Coding & Leadership
Build Intuition From First Principles
Engineering AI Agents: The Stanford CS329Z Field Guide
An independent, first-principles study companion covering Compound AI Systems, Context Engineering, MCP, hierarchical memory, and empirical evaluation.
GenAI by Hand
5-Week Visual Math Β· Matrix trace of attention, LoRA & diffusion
AI/ML Fundamentals Pathway
5 Weekly Modules Β· Linear algebra, calculus, probability & PyTorch
24 Free University AI Courses
Stanford CS229/224N Β· MIT 6.S191 Β· NYU & DeepMind RL lectures