deep-learning-book
What it does
This skill is a companion guide to the Deep Learning book, pointing you to the right chapter and explaining what still applies today. It is for students and practitioners who want to read the book and apply its ideas.
When to use it
- βWhen you want to find the chapter that covers a deep learning topic.
- βWhen you want to know whether an idea from the 2016 book still holds in 2026.
- βWhen you want a reading plan or help diagnosing a model that will not train.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/deep-learning-book/skills/deep-learning-book/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βWhere should I start in the Deep Learning book if I want to understand regularization?β
5 new skills a week. 1 minute to read.
How it works
The agent finds the right chapter for your topic through an index, then adds notes on what has changed since 2016. It can also plan a reading path and help diagnose training problems. It links you to the official chapters to read the book itself.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Deep Learning β Study Companion
Source book: Deep Learning, Ian Goodfellow, Yoshua Bengio & Aaron Courville (MIT Press, 2016) Β· 20 chapters, 3 parts Β· read free at deeplearningbook.org Β· companion compiled 2026-08-25.
This is a companion, not a copy. The book is copyrighted, and its site states that the HTML-only format exists to discourage copying under the authors' MIT Press contract. Nothing here reproduces its text. Every chapter file is original synthesis β what the chapter establishes, how to use it, where it has aged β plus a link to the official chapter. Read the book at the link; use this to navigate it, keep it current, and turn it into decisions. See references/rights_and_use.md.
How to Use This Skill
- No argument β load the core frameworks below.
- A topic β ask about
regularization,saddle points,partition function; resolved through the Topic Index, then that chapter file is read before answering. chNNβ load that chapter's file.- "is this still true?" β the 2016β2026 delta layer, in every chapter file and in references/book_to_2026_delta.md.
- "where do I start?" β run
scripts/reading_path_planner.py.
When asked about something outside these 20 chapters, say so and route to the delta reference rather than improvising the book's position on material published after it.
Core Frameworks & Mental Models
The (T, P, E) frame β ch05
Name the task, the performance measure, and the experience in one sentence before any model code. Most failed projects failed at P: an unstated metric, or a proxy whose relationship to the real objective was never checked.
Every loss is a negative log-likelihood β ch03, ch06
Choose the output distribution, then take its negative log. Gaussian β MSE, Bernoulli β binary cross-entropy, categorical β cross-entropy, Laplace β MAE. "Which loss?" is always the question "which distribution?" in disguise. Modern contrastive and preference objectives sit outside this frame β a real limit of the book, not a gap in your understanding.
KL asymmetry decides your failure mode β ch03, ch19, ch20
D(pβq) β D(qβp). Forward KL is mode-covering (blurry averages); reverse KL is mode-seeking (sharp but partial). This single fact predicts VAE blur, GAN mode collapse, and the characteristic over-confidence of mean-field variational posteriors.
Train-error-first triage β ch11, ch05
High training error β capacity or optimization is the bottleneck; more data will not help.
Low training error with a large validation gap β data or regularization. This is the highest-value
heuristic in the book. scripts/training_diagnostics.py runs it.
Capacity, the gap, and the U-curve's caveat β ch05, ch07
Regularization trades variance for bias. But the classical U-shaped capacity curve is incomplete: past the interpolation threshold, test error can fall again (double descent, 2019β2020, post-dating the book). Practical consequence: when a large model overfits, try more data, more regularization or longer training before shrinking it.
Architecture is a prior, not a trick β ch09, ch10, ch15
Convolution asserts translation equivariance and locality. Recurrence asserts that the past compresses into a state. A distributed representation asserts that factors combine combinatorially. When the assertion is false, the architecture cannot be rescued by tuning β and when it is true, it beats capacity. This is also why Vision Transformers need more data than ConvNets: they discard the prior and buy it back with examples.
Depth's real cost is gradient flow and activation memory β ch06, ch08, ch10
Backprop is the chain rule scheduled well: one forward-pass-equivalent of compute, and memory proportional to stored activations. Depth fails through vanishing/exploding gradients and ill-conditioning, which is why residual connections, normalization and clipping exist.
The partition function organizes Part III β ch16, ch17, ch18, ch19
For undirected models, the likelihood gradient needs samples from the model itself. Four escape routes: sample it (CD/PCD), sidestep it algebraically (pseudolikelihood, score matching), learn around it (NCE), or estimate it for evaluation (AIS). Score matching's descendants are today's diffusion models β which is why Part III repays reading even though its models did not
FAQ
Does this skill copy the book's text?
No. It gives original notes and links to the official chapters, and it does not reproduce the book.
Which chapters does it cover?
All 20 chapters across the book's three parts.
Does it help when training goes wrong?
Yes. A diagnostics tool helps check common training failures.
Details
Original description by the author
Use when studying or applying Goodfellow, Bengio and Courville's Deep Learning, or asking if its advice still holds. Indexes all 20 chapters with a 2016-to-2026 delta, plans reading paths with reading_path_planner.py and diagnoses training failures with training_diagnostics.py.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9553
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
pytorch-patterns
280kHelps your agent use PyTorch for machine learning models. It applies best practices for efficient model training and ensures reproducible results.
evm-token-decimals
280kHelps your agent avoid errors with decimal numbers across different blockchain networks. It ensures token values are accurate in transactions and calculations.
ito-inference
280kLets your agent check the availability of AI models for use. It connects the compute request with the ready model service.