← All projects
Developer building blocks

fastai

A code library that makes training your own AI models quicker, paired with a free course.

What it does

fastai is a Python library for building and training "deep learning" models, the kind of AI that learns from examples. It's built on PyTorch, another popular AI library.

Its makers say you can build an image classifier, a text sentiment model or a recommendation system in about five lines of code. It is closely tied to a free online course and a book, and its documentation pages can be opened as interactive notebooks in Google Colab, so you can try it without installing anything.

Who it's for

Learners, programmers and researchers who want to train their own AI models.

Can I use it without coding?

Developers only. You need to write Python code, though you can run it free in Google Colab without installing anything. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Runs on
Linux, Windows, Cloud
Computer
Works best on a powerful computer or one with a graphics card (GPU)
Privacy
Your choice: run it on your device or use an online service
API key
Not needed

Try it

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 (Apache-2.0): Permissive: free to use, change and share, including for business.
  • More on staying safe

Where people are talking about it