Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including Stanford, MIT, Harvard, and Cambridge.
  • Python 61.8%
  • TeX 23.7%
  • HTML 12.9%
  • Shell 1.6%
Find a file
2024-03-16 23:46:02 +01:00
.github CI: Enable release workflows (#2491) 2023-06-17 16:01:41 -07:00
chapter_appendix-mathematics-for-deep-learning Fixed some typos and wordings in a few files in the appendix section (#2558) 2023-10-02 13:53:30 +02:00
chapter_appendix-tools-for-deep-learning [Vol1] Minor edit 2023-08-27 16:43:05 -07:00
chapter_attention-mechanisms-and-transformers reeval 2023-08-17 11:20:04 +00:00
chapter_builders-guide TF: default tensors creation statement fixed (#2548) 2023-08-17 11:47:07 -07:00
chapter_computational-performance textrm except min, max, argmin, argmax, minimize, maximize, softmax 2023-08-11 06:04:01 +00:00
chapter_computer-vision textrm except min, max, argmin, argmax, minimize, maximize, softmax 2023-08-11 06:04:01 +00:00
chapter_convolutional-modern reeval 2023-08-17 11:20:04 +00:00
chapter_convolutional-neural-networks Update lenet.md (#2563) 2023-12-11 04:03:37 +01:00
chapter_gaussian-processes textrm except min, max, argmin, argmax, minimize, maximize, softmax 2023-08-11 06:04:01 +00:00
chapter_generative-adversarial-networks textrm except min, max, argmin, argmax, minimize, maximize, softmax 2023-08-11 06:04:01 +00:00
chapter_hyperparameter-optimization textrm except min, max, argmin, argmax, minimize, maximize, softmax 2023-08-11 06:04:01 +00:00
chapter_installation Release 1.0.3 for vol1 2023-08-18 21:25:27 +00:00
chapter_introduction [Vol1] Minor edit 2023-08-27 16:43:05 -07:00
chapter_linear-classification [Vol1] Fix 2023-09-01 22:32:44 -07:00
chapter_linear-regression trade-off 2023-08-17 09:43:01 +00:00
chapter_multilayer-perceptrons [Vol1] Minor edit 2023-08-28 10:17:44 -07:00
chapter_natural-language-processing-applications Remove generalized code for swin transformer 2023-02-09 06:38:02 +00:00
chapter_natural-language-processing-pretraining \exp 2023-08-11 06:16:50 +00:00
chapter_notation textrm except min, max, argmin, argmax, minimize, maximize, softmax 2023-08-11 06:04:01 +00:00
chapter_optimization Fixed uci.edu dataset link (#2591) 2024-03-16 23:46:02 +01:00
chapter_preface [Vol1] Fix 2023-09-01 22:32:44 -07:00
chapter_preliminaries Update MCI Datasets URL (#2568) 2023-12-11 04:00:31 +01:00
chapter_recommender-systems Fixed some typos and wordings in a few files in the appendix section (#2558) 2023-10-02 13:53:30 +02:00
chapter_recurrent-modern [Vol1] Fix 2023-09-01 22:32:44 -07:00
chapter_recurrent-neural-networks JAX: Add discussion tabs (#2544) 2023-08-14 09:03:02 -07:00
chapter_references Update preface and install (#355) 2019-12-09 05:09:37 +00:00
chapter_reinforcement-learning mathrm argmax 2023-08-11 06:19:38 +00:00
ci Use d2lbook==1.0.0 for all containers 2023-08-18 00:01:22 +02:00
contrib mv rl chap out of contrib 2022-11-07 20:36:23 +00:00
d2l r1.0.3 with scipy 1.10.1 2023-08-18 19:03:25 +00:00
graffle todos clear 2023-08-17 03:34:10 +00:00
img todos clear 2023-08-17 03:34:10 +00:00
static Update my affiliation (#2567) 2023-11-29 17:24:39 +01:00
.gitattributes chore: add .gitattributes and set eof=lf (#664) 2019-12-13 22:56:07 -08:00
.gitignore update gitignore 2023-08-14 03:24:31 +00:00
CODE_OF_CONDUCT.md Change license to CC-BY-SA-4.0, add MIT-0 license for sample code, add code of conduct 2019-12-09 05:09:40 +00:00
config.ini Release 1.0.3 for vol1 2023-08-18 21:25:27 +00:00
CONTRIBUTING.md fix typo with CONTRIBUTING.md (#2516) 2023-06-16 13:18:58 +02:00
d2l.bib rm doi in bib 2023-08-17 04:06:19 +00:00
index.md Reorder chapters 2022-12-11 17:48:27 -08:00
INFO.md Update INFO.md (#2551) 2023-08-18 02:09:56 -07:00
LICENSE Change license to CC-BY-SA-4.0, add MIT-0 license for sample code, add code of conduct 2019-12-09 05:09:40 +00:00
LICENSE-SAMPLECODE Change license to CC-BY-SA-4.0, add MIT-0 license for sample code, add code of conduct 2019-12-09 05:09:40 +00:00
LICENSE-SUMMARY delete space (#1234) 2020-07-26 14:07:28 -07:00
README.md Update README.md 2023-08-18 02:11:28 -07:00
setup.py r1.0.3 with scipy 1.10.1 2023-08-18 19:03:25 +00:00
STYLE_GUIDE.md Update STYLE_GUIDE.md 2022-08-04 14:49:37 -07:00
vol1-activate.sh Update vol1 activate 2023-02-03 19:53:16 +00:00

D2L.ai: Interactive Deep Learning Book with Multi-Framework Code, Math, and Discussions

Continuous Integration

Book website | STAT 157 Course at UC Berkeley

The best way to understand deep learning is learning by doing.

This open-source book represents our attempt to make deep learning approachable, teaching you the concepts, the context, and the code. The entire book is drafted in Jupyter notebooks, seamlessly integrating exposition figures, math, and interactive examples with self-contained code.

Our goal is to offer a resource that could

  1. be freely available for everyone;
  2. offer sufficient technical depth to provide a starting point on the path to actually becoming an applied machine learning scientist;
  3. include runnable code, showing readers how to solve problems in practice;
  4. allow for rapid updates, both by us and also by the community at large;
  5. be complemented by a forum for interactive discussion of technical details and to answer questions.

Universities Using D2L

If you find this book useful, please star (★) this repository or cite this book using the following bibtex entry:

@book{zhang2023dive,
    title={Dive into Deep Learning},
    author={Zhang, Aston and Lipton, Zachary C. and Li, Mu and Smola, Alexander J.},
    publisher={Cambridge University Press},
    note={\url{https://D2L.ai}},
    year={2023}
}

Endorsements

"In less than a decade, the AI revolution has swept from research labs to broad industries to every corner of our daily life. Dive into Deep Learning is an excellent text on deep learning and deserves attention from anyone who wants to learn why deep learning has ignited the AI revolution: the most powerful technology force of our time."

— Jensen Huang, Founder and CEO, NVIDIA

"This is a timely, fascinating book, providing with not only a comprehensive overview of deep learning principles but also detailed algorithms with hands-on programming code, and moreover, a state-of-the-art introduction to deep learning in computer vision and natural language processing. Dive into this book if you want to dive into deep learning!"

— Jiawei Han, Michael Aiken Chair Professor, University of Illinois at Urbana-Champaign

"This is a highly welcome addition to the machine learning literature, with a focus on hands-on experience implemented via the integration of Jupyter notebooks. Students of deep learning should find this invaluable to become proficient in this field."

— Bernhard Schölkopf, Director, Max Planck Institute for Intelligent Systems

"Dive into Deep Learning strikes an excellent balance between hands-on learning and in-depth explanation. I've used it in my deep learning course and recommend it to anyone who wants to develop a thorough and practical understanding of deep learning."

— Colin Raffel, Assistant Professor, University of North Carolina, Chapel Hill

Contributing (Learn How)

This open source book has benefited from pedagogical suggestions, typo corrections, and other improvements from community contributors. Your help is valuable for making the book better for everyone.

Dear D2L contributors, please email your GitHub ID and name to d2lbook.en AT gmail DOT com so your name will appear on the acknowledgments. Thanks.

License Summary

This open source book is made available under the Creative Commons Attribution-ShareAlike 4.0 International License. See LICENSE file.

The sample and reference code within this open source book is made available under a modified MIT license. See the LICENSE-SAMPLECODE file.

Chinese version | Discuss and report issues | Code of conduct