HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
d2l-ai
d2l-en
Python2019–2022
d2l-ai / d2l-en

d2l-en

Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including Stanford, MIT, Harvard, and Cambridge.

3Distinct people
3Mentions
0Explicit recommenders
30KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including Stanford, MIT, Harvard, and Cambridge.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year3 dated mentions

Observed mentions: 2019-01-06 21:51:50 UTC to 2022-01-05 01:09:18 UTC.

0122019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2022

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC202
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC110

What Hacker News says

3 sources
Thanks. 1. We have just translated contents from the Chinese book https://github.com/d2l-ai/d2l-zh. However, the translation quality is not good enough; thus, we are still editing. As @EForEndeavour put, you are more than welcome to become a contributor of the book if you spot any issue: https://github.com/d2l-ai/d2l-en Your help is valuable for making the book better for everyone. 2. Indeed, recently we were also asked by a few instructors why we use MXNet in 'Dive into Deep Learning' (D2L). Here is what we think: a) Traditional deep learning (DL) textbooks often illustrate algorithms without implementations. b) In view of this, D2L features both algorithms and implementations for DL. Doing so does not require exclusive features of any deep learning framework. c) Thus, even when re-implementing the algorithms in the book with other DL f
Read the rest
rameworks, the code descriptions won't be too different. We use MXNet because we are familiar with it. No matter which DL framework one uses, it should be easy to switch to another one. As a concrete example, in the case of applying RNN to language models, the implementation includes data preprocessing, model construction, and training loops. D2L will guide you through how to transform text data to allow efficient mini-batch iteration, how to implement RNN (with or without using RNN api), and how to efficiently and effectively train a language model. On one hand, even if a DL novice can memorize the algorithms in a traditional textbook, it is still hard to apply it into a real project without knowing implementation details. On the other hand, such implementations are general: the code will be similar even when being re-implemented with another framework. 3. We thank institutions for adopting or recommending D2L in their courses, such as UCLA CS 269 Foundations of Deep Learning, University of Science and Technology of China Deep Learning, UIUC CS 498 Introduction to Deep Learning, and UW CSE 599W Systems for ML. When we wrote the book in Chinese, the book benefited from a lot of feedbacks at https://discuss.gluon.ai/latest?order=views and pull requests from 120+ contributors. It would be very helpful if we could get feedbacks and help from more readers when we are editing. Happy weekends!
In Dive into Deep Learning: Berkeley Course

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.