An open textbook used in 500+ universities: every concept comes with maths, runnable code and exercises, available for PyTorch, TensorFlow, JAX and MXNet.
| Category | Learn AI & machine learning |
| Type | Interactive book |
| License | CC-BY-SA-4.0 |
| Runs locally | Yes |
| Built with | Jupyter |
| Skill level | Intermediate |
| Best for | a rigorous foundation you can actually execute |
Other open-source learn ai & machine learning tools worth comparing:
VirgilioA structured mentor for data science and ML
ML for BeginnersMicrosoft's classic machine learning course
AI for BeginnersFrom symbolic AI to neural networks
Generative AI for BeginnersBuild generative AI apps, lesson by lesson
Data Science for BeginnersThe data foundations before any ML
LLM CourseThe reference roadmap for learning LLMs
LLMs from ScratchBuild a GPT from nothing, line by line
Neural Networks: Zero to HeroKarpathy builds backprop, then GPT, from scratch
Annotated Paper Implementations60+ papers implemented and explained side by side
fastai Book (fastbook)Deep learning for coders, top-down
Hands-On Machine LearningThe notebooks of the best-selling ML book
Hugging Face CourseMaster transformers with the actual library
Hugging Face Agents CourseBuild AI agents, properly
Made With MLFrom notebook to production system
Prompt Engineering GuideThe reference on prompting, backed by papers
Applied MLHow real companies actually ship ML
ML YouTube CoursesThe best free ML courses on YouTube, curated
OpenAI CookbookPractical recipes that work with any OpenAI-compatible API
Awesome Machine LearningThe reference index of ML libraries, by language
Awesome LLMPapers, models and tools of the LLM era
Deep Learning DrizzleUniversity lectures, from the source
ML Interviews BookWhat ML interviews actually askDive into Deep Learning is free and open-source (CC-BY-SA-4.0 license), so you can use, self-host and modify it at no cost.
Yes. Dive into Deep Learning is designed to run on your own machine or server, keeping your data private.
Popular open-source alternatives include Virgilio, ML for Beginners, AI for Beginners. See the comparisons above to choose.
Browse the full directory of open-source AI tools, models and projects — updated daily.
Browse all tools →