whatisgithub

What is d2l-pt?

d2l-ai/d2l-pt — explained in plain English

Analysis updated 2026-08-04 · repo last pushed 2024-03-18

64PythonAudience · researcherComplexity · 2/5DormantLicenseSetup · easy

In one sentence

An open-source, interactive deep learning textbook in Portuguese that mixes explanations, math, diagrams, and runnable Jupyter notebook code so you learn by doing rather than just reading theory.

Mindmap

mindmap
  root((repo))
  What it does
    Interactive textbook
    Runnable code
    Math and diagrams
    Portuguese translation
  Tech stack
    Python
    Jupyter notebooks
    Deep learning frameworks
  Use cases
    Learn deep learning
    University coursework
    Hands-on practice
  Audience
    Students
    Founders
    Product managers
  License
    Free and open
    Community maintained

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

Learn deep learning from scratch with runnable code examples in Portuguese.

USE CASE 2

Use it as course material for a university AI or machine learning class.

USE CASE 3

Get hands-on practice mixing math, diagrams, and live code to understand how models work.

USE CASE 4

Onboard as a founder or PM by building real intuition for how deep learning works under the hood.

What is it built with?

PythonJupyter NotebooksPyTorchMXNetTensorFlow

How does it compare?

d2l-ai/d2l-pt1ove9/antenna-forgeali-vilab/diffusionopd
Stars646464
LanguagePythonPythonPython
Last pushed2024-03-18
MaintenanceDormant
Setup difficultyeasyhardhard
Complexity2/55/55/5
Audienceresearcherresearcherresearcher

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

How do you get it running?

Difficulty · easy Time to first run · 5min

Just open the Jupyter notebooks in your browser or a local Jupyter install to start reading and running the code examples.

Free and openly licensed so anyone can access, use, and contribute to the textbook content.

So what is it?

The D2L.ai project (specifically this Portuguese translation) is an open-source, interactive textbook that teaches deep learning. Rather than just giving you theory or just giving you code, it combines explanations, math, diagrams, and runnable code all in one place so you can learn by doing. The entire book is built using Jupyter notebooks, which are documents that let you mix written explanations with live code. This means when a concept is introduced, you can immediately see and run the code that puts it into practice. It covers the math and concepts behind deep learning, but the goal is always practical: to help you build enough technical skill to start solving real problems in machine learning. The project is a community effort, updated frequently by both its authors and outside contributors. This resource is aimed at people who want to become applied machine learning scientists or engineers. For example, a student taking a university course on AI, a startup founder wanting to understand how deep learning works under the hood, or a product manager looking to get hands-on with the technology their team uses would all find this useful. The material is already being used in university classes around the world, and the project highlights several research papers that built on its tools. It is designed for people who want more than a surface-level overview and need a solid starting point for real-world work. The project is notable for being completely free and openly licensed, meaning anyone can access it and the community can help improve it over time. The book supports multiple deep learning frameworks, so you are not locked into learning just one toolset. It is a practical, hands-on alternative to traditional textbooks, built specifically to be updated quickly as the field of AI evolves.

Copy-paste prompts

Prompt 1
Translate a section of the D2L deep learning textbook notebook into Portuguese and add a new worked code example using PyTorch that demonstrates the same concept.
Prompt 2
Run the D2L Portuguese linear regression notebook locally in Jupyter, then modify the learning rate and plot how the loss curve changes across epochs.
Prompt 3
Create a study guide based on the D2L Portuguese textbook that summarizes the key math and code concepts from the first five chapters for a beginner.
Prompt 4
Take one notebook from the D2L Portuguese repo and rewrite the MXNet code example using TensorFlow while keeping the explanations intact.
Prompt 5
Build a mini-project that uses the techniques from the D2L textbook to classify images, following the book's hands-on code-first approach.

Frequently asked questions

What is d2l-pt?

An open-source, interactive deep learning textbook in Portuguese that mixes explanations, math, diagrams, and runnable Jupyter notebook code so you learn by doing rather than just reading theory.

What language is d2l-pt written in?

Mainly Python. The stack also includes Python, Jupyter Notebooks, PyTorch.

Is d2l-pt actively maintained?

Dormant — no commits in 2+ years (last push 2024-03-18).

What license does d2l-pt use?

Free and openly licensed so anyone can access, use, and contribute to the textbook content.

How hard is d2l-pt to set up?

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

Who is d2l-pt for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.