whatisgithub

What is d2l-zh-pytorch-slides?

d2l-ai/d2l-zh-pytorch-slides — explained in plain English

Analysis updated 2026-08-07 · repo last pushed 2023-08-18

822Jupyter NotebookAudience · generalComplexity · 1/5DormantSetup · moderate

In one sentence

A collection of interactive presentation slides for learning deep learning with PyTorch, covering everything from basic math to advanced topics like transformers, in a visual step-by-step format.

Mindmap

mindmap
  root((repo))
    What it does
      Turns notebooks into slides
      Visual deep learning lessons
      Step by step format
    Topics Covered
      Math fundamentals
      Neural networks
      Transformers and BERT
    Audience
      Students
      Instructors
      Self-learners
    Tech stack
      PyTorch
      Jupyter Notebook
      RISE
    Use cases
      Lecture slides
      Learn ResNet
      Kaggle projects

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Teachers can use these interactive slides directly in classroom lectures to explain deep learning concepts.

USE CASE 2

Self-learners can click through visual slide decks to see theory and runnable PyTorch code side by side.

USE CASE 3

Students can open specific slide decks to understand complex architectures like ResNet or BERT.

USE CASE 4

Learners can follow along with practical projects like predicting house prices or entering Kaggle competitions.

What is it built with?

Jupyter NotebookPyTorchRISE

How does it compare?

d2l-ai/d2l-zh-pytorch-slidesllsourcell/how-to-predict-stock-prices-easily-demokarpathy/lecun1989-repro
Stars822771765
LanguageJupyter NotebookJupyter NotebookJupyter Notebook
Last pushed2023-08-182022-06-232024-02-03
MaintenanceDormantDormantDormant
Setup difficultymoderatemoderateeasy
Complexity1/52/52/5
Audiencegeneralvibe coderresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 5min

Requires installing the RISE tool locally to view notebooks as live presentations, or you can simply preview them online.

The explanation does not mention a license for this repository.

So what is it?

This repository is a collection of presentation slides for learning deep learning, using PyTorch (a popular programming tool for AI). It turns interactive coding notebooks into slide decks, so you can learn concepts like linear regression, convolutional neural networks, and transformers in a visual, step-by-step format. The content covers a broad curriculum. It starts with fundamentals like linear algebra and calculus, then moves into building basic neural networks from scratch and using concise library code. Later chapters cover image classification, object detection, recurrent neural networks for text, attention mechanisms, and even practical projects like predicting house prices or classifying images in Kaggle competitions. Each topic is a separate notebook file that doubles as a slide presentation. You would use this if you are a student, instructor, or self-learner trying to understand deep learning with PyTorch. Teachers can use the slides directly in lectures, while learners can click through them to see both the theory and runnable code side by side. For example, if you want to understand how a ResNet architecture works or how to fine-tune a model for computer vision, you can open that specific slide deck and follow along. To view the slides, you can either preview them online through nbviewer or open them locally. For the local experience, the project recommends installing a tool called RISE, which turns Jupyter notebooks into live presentations. The README doesn't go into detail about installation steps beyond that suggestion. The project is notable for its sheer breadth, it spans from absolute basics to advanced topics like BERT and multi-head attention, all in slide format. The content appears to be in Chinese, given the original description, making it a resource primarily aimed at Chinese-speaking learners, though the code and mathematical notation are universally accessible.

Copy-paste prompts

Prompt 1
How do I install and use RISE in Jupyter Notebook to turn my deep learning code into interactive presentation slides?
Prompt 2
Show me how to build a basic neural network from scratch in PyTorch, explaining the math and code step by step.
Prompt 3
Explain how ResNet architecture works and provide a PyTorch code example for image classification.
Prompt 4
How do I fine-tune a pre-trained model for computer vision using PyTorch, and what are the key steps?

Frequently asked questions

What is d2l-zh-pytorch-slides?

A collection of interactive presentation slides for learning deep learning with PyTorch, covering everything from basic math to advanced topics like transformers, in a visual step-by-step format.

What language is d2l-zh-pytorch-slides written in?

Mainly Jupyter Notebook. The stack also includes Jupyter Notebook, PyTorch, RISE.

Is d2l-zh-pytorch-slides actively maintained?

Dormant — no commits in 2+ years (last push 2023-08-18).

What license does d2l-zh-pytorch-slides use?

The explanation does not mention a license for this repository.

How hard is d2l-zh-pytorch-slides to set up?

Setup difficulty is rated moderate, with roughly 5min to a first successful run.

Who is d2l-zh-pytorch-slides for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.