What it does
This repository holds the materials for a course on PyTorch, one of the most widely used tools for building AI models. All of it is available as an online book, and the first sections are free on YouTube.
It starts with the basics and works up to sorting images, using your own data, adapting existing models to new problems ("transfer learning"), recreating a research paper and putting a model online. Each section has exercises. The author describes the teaching style as code first: lots of coding and experimenting.
Who it's for
People with some Python knowledge who want to learn how to build AI models.
Can I use it without coding?
Developers only. You can read and watch for free, but the course is about writing Python code. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- Runs on
- Web browser
- Computer
- An ordinary computer is fine
- API key
- Not needed
Try it
- Open the free online book and choose a section, starting with PyTorch Fundamentals.
- Click the Open in Colab button to run the code in your browser.
- Run the code cells one by one and try the exercises.
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.
- License (MIT): Very permissive: free to use, change and share, including for business.
- More on staying safe