← All projects
Learning resources

The fastai Book

The full fastai deep-learning book as interactive notebooks you can read and run for free.

What it does

This is the text of the fastai book on deep learning, published as Jupyter notebooks: documents that mix explanations with code you can run. It introduces deep learning, the fastai library and PyTorch.

The notebooks are used for a free online course and form the basis of a printed book. You can open any chapter in Google Colab, a free online notebook service, without installing anything.

Who it's for

Beginners with some coding experience who want a practical introduction to deep learning.

Can I use it without coding?

Yes. Chapters open in Google Colab in your browser. Running them involves some Python code. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Runs on
Web browser
API key
Not needed

Try it

  1. Open any chapter of the book in Google Colab using the links in the README.
  2. Work through the notebooks in order, running the code as you read.

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • No standard license listed. Check the GitHub page before using it for business.
  • More on staying safe

Where people are talking about it