Analysis updated 2026-06-20
Work through hands-on deep learning chapters in Chinese, running and modifying code examples alongside the mathematical explanations.
Use as a university course curriculum, the book is already taught at over 500 institutions across 70 countries.
Study the mathematical foundations of deep learning paired with working Python implementations you can experiment with directly.
| d2l-ai/d2l-zh | tensorflow/models | swisskyrepo/payloadsallthethings | |
|---|---|---|---|
| Stars | 77,689 | 77,667 | 77,510 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 2/5 | 4/5 | 1/5 |
| Audience | researcher | researcher | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Python, Jupyter, and the d2l package, a GPU is recommended for training chapters but not required for reading.
d2l-zh is the Chinese-language version of "Dive into Deep Learning" (D2L.ai), an open educational project that teaches deep learning in a hands-on way. Rather than software you run as an app, the repository is the source of an interactive book that combines text explanations, mathematical background, and runnable code in one place. The README mentions that both the Chinese and English versions are used as teaching material at more than 500 universities across over 70 countries. The project sets out a small set of goals. It is meant to be free for everyone on the web, deep enough to take readers from understanding the underlying mathematics to actually implementing and improving methods, and structured around code a reader can run, modify, and inspect, so a mathematical formula on the page corresponds directly to lines of code you can experiment with. The authors emphasize keeping the material continuously updated and complementing the text with a discussion forum. The README points to a second edition at zh.D2L.ai and a first edition at zh-v1.D2L.ai, with separate installation instructions for the source code accompanying each edition. The English open-source version is in a sibling repository, and a set of teaching slides comes from a UC Berkeley course that used the book as its textbook. There is a bibliography entry citing the book, published by Cambridge University Press in 2023. Someone would use this when learning deep learning in Chinese, teaching a course, or wanting a single resource that pairs theory with code. The runnable code is in Python.
d2l-zh is the Chinese edition of Dive into Deep Learning, a free interactive textbook pairing deep learning theory and math with runnable Python code, used at 500+ universities worldwide.
Mainly Python. The stack also includes Python.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.