MarcosSete/awesome-free-ai-books

A curated list of free, legitimate AI/ML books

592

15 commits

updated Sep 18, 2026

See the code

README

📚 Awesome Free AI Books

Awesome PRs Welcome Link Check License: CC0-1.0

A curated list of free, legitimately accessible books on Deep Learning, Reinforcement Learning, Probabilistic Machine Learning, NLP/LLMs, and mathematical foundations — all made officially available by their own authors or publishers.

Every link points to an official source. This repository doesn't host any files — it only organizes and catalogs what authors already offer for free. See why at the bottom.


Table of Contents


🧠 Deep Learning

BookAuthor(s)YearOfficial Link
Deep LearningIan Goodfellow, Yoshua Bengio, Aaron Courville (MIT Press)2016deeplearningbook.org
Understanding Deep LearningSimon J.D. Prince2023udlbook.github.io
Deep Learning: Foundations and ConceptsChristopher Bishop, Hugh Bishop2024bishopbook.com
Dive into Deep Learning (D2L)Zhang, Lipton, Li, Smola2023d2l.ai
The Little Book of Deep LearningFrançois Fleuret2023 (updated 2026)fleuret.org
Neural Networks and Deep LearningMichael Nielsen2015neuralnetworksanddeeplearning.com
A Brief Introduction to Neural NetworksDavid Kriesel—dkriesel.com

🎮 Reinforcement Learning

BookAuthor(s)YearOfficial Link
Reinforcement Learning: An Introduction (2nd ed.)Richard Sutton, Andrew Barto2018incompleteideas.net

📊 Probabilistic / Bayesian

BookAuthor(s)YearOfficial Link
Probabilistic Machine Learning: An IntroductionKevin Murphy2022probml.github.io
Probabilistic Machine Learning: Advanced TopicsKevin Murphy2023probml.github.io
Bayesian Reasoning and Machine LearningDavid Barber2012web4.cs.ucl.ac.uk
Probabilistic Programming & Bayesian Methods for HackersCam Davidson-Pilon—dataorigami.net
Think BayesAllen Downey2021greenteapress.com
Information Theory, Inference, and Learning AlgorithmsDavid MacKay2003inference.phy.cam.ac.uk
Gaussian Processes for Machine LearningRasmussen, Williams2006gaussianprocess.org
A Probabilistic Theory of Pattern RecognitionDevroye, Györfi, Lugosi—szit.bme.hu
Probability Theory: The Logic of ScienceE.T. Jaynes—bayes.wustl.edu

📈 Classical Machine Learning / Statistics

BookAuthor(s)YearOfficial Link
The Elements of Statistical LearningHastie, Tibshirani, Friedman2009stanford.edu
An Introduction to Statistical Learning (R & Python)James, Witten, Hastie, Tibshirani2021/2023statlearning.com
Computer Age Statistical Inference (CASI)Efron, Hastie2016hastie.su.domains
Foundations of Machine LearningMohri, Rostamizadeh, Talwalkar2018cs.nyu.edu
Understanding Machine LearningShalev-Shwartz, Ben-David2014cs.huji.ac.il
A Course in Machine LearningHal Daumé III—ciml.info
Mining Massive DatasetsLeskovec, Rajaraman, Ullman—stanford.edu
The Hundred-Page Machine Learning BookAndriy Burkov2019themlbook.com

🗣️ NLP / LLMs

BookAuthor(s)YearOfficial Link
RAG + Knowledge Graph Master CourseAddy2026thequery.in
Speech and Language Processing (3rd ed., draft)Daniel Jurafsky, James Martin2026 (active draft)web.stanford.edu
Foundations of Statistical Natural Language ProcessingManning, Schütze1999nlp.stanford.edu
An Introduction to Information RetrievalManning, Raghavan, Schütze2008nlp.stanford.edu
AI Agent EvaluationHallie Ren2026hallieren.github.io
Research, Rewritten: Using AI to Produce Knowledge You Can TrustHallie Ren2026hallieren.github.io
NLTK BookBird, Klein, Loper—nltk.org

🧮 Mathematics for ML

BookAuthor(s)YearOfficial Link
Mathematics for Machine LearningDeisenroth, Faisal, Ong2020mml-book.github.io
The Matrix CookbookPetersen, Pedersen—uwaterloo.ca
Convex OptimizationBoyd, Vandenberghe2004stanford.edu
Linear Algebra Done WrongSergei Treil—brown.edu

🖥️ ML Systems / Infrastructure

BookAuthor(s)YearOfficial Link
Machine Learning Systems (Vol. I & II)Harvard-Edge2025–2026mlsysbook.ai

👁️ Computer Vision

BookAuthor(s)YearOfficial Link
Computer Vision: Algorithms and Applications (2nd ed.)Richard Szeliski2022szeliski.org/Book (simple sign-up, free download)
Computer Vision: Models, Learning, and InferenceSimon J.D. Prince2012computervisionmodels.com
Foundations of Computer VisionAntonio Torralba, Phillip Isola, William T. Freeman2024visionbook.mit.edu

🎨 Generative Models (Diffusion, GANs, VAEs)

BookAuthor(s)YearOfficial Link
Deep Generative Modeling (2nd ed.)Jakub M. Tomczak2024jmtomczak.github.io — covers mixture models, autoregressive models, flows, VAEs, GANs, score-based/diffusion, energy-based models, and LLMs
An Introduction to Variational AutoencodersDiederik P. Kingma, Max Welling2019arxiv.org
The Principles of Diffusion ModelsChieh-Hsin Lai, Yang Song, Dongjun Kim, Yuki Mitsufuji, Stefano Ermon2025arxiv.org

🔗 Causal Inference

BookAuthor(s)YearOfficial Link
Causal Inference: What IfMiguel Hernán, James Robins2020 (updated)miguelhernan.org/whatifbook

🕸️ Graph Neural Networks

BookAuthor(s)YearOfficial Link
Graph Representation LearningWilliam L. Hamilton2020cs.mcgill.ca/~wlh/grl_book
Deep Learning on GraphsYao Ma, Jiliang Tang2021yaoma24.github.io
Graph Neural Networks: Foundations, Frontiers, and ApplicationsLingfei Wu, Peng Cui, Jian Pei, Liang Zhao2022graph-neural-networks.github.io

🛡️ AI Safety / Alignment

BookAuthor(s)YearOfficial Link
Introduction to AI Safety, Ethics, and SocietyDan Hendrycks (Center for AI Safety)2024aisafetybook.com — open access, includes a free companion course

🎓 Advanced RL / Theory

BookAuthor(s)YearOfficial Link
Reinforcement Learning: Theory and AlgorithmsAgarwal, Brantley, Jiang, Kakade, Sun2022 (continuously updated)rltheorybook.github.io
Reinforcement Learning and Optimal ControlDimitri Bertsekas2019author's site (ASU)
A Course in Reinforcement Learning (2nd ed.)Dimitri Bertsekas2023/2025author's site (ASU)

🤝 How to Contribute

Contributions are welcome! Before opening a PR, read CONTRIBUTING.md. Quick rules:

  1. The book must be officially and permanently free (no paid early-access, no time-limited trial).
  2. The link must point to the primary source (author's site, university, or publisher with an open license) — never Scribd, PDFCoffee, Z-Library, Library Genesis, or similar.
  3. Add it to the correct category, keeping alphabetical order by author within the table.
  4. One book per PR to keep reviews easy.

This repository does not host any files. It works as a catalog/index, pointing to where authors themselves make their books freely available. This approach:

  • Respects each author's license terms (some, like the Deep Learning Book, track reader numbers via their own site analytics).
  • Avoids copyright issues and possible takedowns of the repository.
  • Guarantees you always get the most up-to-date version (several of these books — like Speech and Language Processing and The Little Book of Deep Learning — are updated frequently).

If a link breaks, please open an issue.


Made with 📖 for the global AI/ML community.
Curated by Marcos Cruz — feel free to connect on LinkedIn.

MarcosSete/awesome-free-ai-books

A curated list of free, legitimate AI/ML books

592

15 commits

updated Sep 18, 2026

See the code

README

📚 Awesome Free AI Books

Awesome PRs Welcome Link Check License: CC0-1.0

A curated list of free, legitimately accessible books on Deep Learning, Reinforcement Learning, Probabilistic Machine Learning, NLP/LLMs, and mathematical foundations — all made officially available by their own authors or publishers.

Every link points to an official source. This repository doesn't host any files — it only organizes and catalogs what authors already offer for free. See why at the bottom.


Table of Contents


🧠 Deep Learning

BookAuthor(s)YearOfficial Link
Deep LearningIan Goodfellow, Yoshua Bengio, Aaron Courville (MIT Press)2016deeplearningbook.org
Understanding Deep LearningSimon J.D. Prince2023udlbook.github.io
Deep Learning: Foundations and ConceptsChristopher Bishop, Hugh Bishop2024bishopbook.com
Dive into Deep Learning (D2L)Zhang, Lipton, Li, Smola2023d2l.ai
The Little Book of Deep LearningFrançois Fleuret2023 (updated 2026)fleuret.org
Neural Networks and Deep LearningMichael Nielsen2015neuralnetworksanddeeplearning.com
A Brief Introduction to Neural NetworksDavid Kriesel—dkriesel.com

🎮 Reinforcement Learning

BookAuthor(s)YearOfficial Link
Reinforcement Learning: An Introduction (2nd ed.)Richard Sutton, Andrew Barto2018incompleteideas.net

📊 Probabilistic / Bayesian

BookAuthor(s)YearOfficial Link
Probabilistic Machine Learning: An IntroductionKevin Murphy2022probml.github.io
Probabilistic Machine Learning: Advanced TopicsKevin Murphy2023probml.github.io
Bayesian Reasoning and Machine LearningDavid Barber2012web4.cs.ucl.ac.uk
Probabilistic Programming & Bayesian Methods for HackersCam Davidson-Pilon—dataorigami.net
Think BayesAllen Downey2021greenteapress.com
Information Theory, Inference, and Learning AlgorithmsDavid MacKay2003inference.phy.cam.ac.uk
Gaussian Processes for Machine LearningRasmussen, Williams2006gaussianprocess.org
A Probabilistic Theory of Pattern RecognitionDevroye, Györfi, Lugosi—szit.bme.hu
Probability Theory: The Logic of ScienceE.T. Jaynes—bayes.wustl.edu

📈 Classical Machine Learning / Statistics

BookAuthor(s)YearOfficial Link
The Elements of Statistical LearningHastie, Tibshirani, Friedman2009stanford.edu
An Introduction to Statistical Learning (R & Python)James, Witten, Hastie, Tibshirani2021/2023statlearning.com
Computer Age Statistical Inference (CASI)Efron, Hastie2016hastie.su.domains
Foundations of Machine LearningMohri, Rostamizadeh, Talwalkar2018cs.nyu.edu
Understanding Machine LearningShalev-Shwartz, Ben-David2014cs.huji.ac.il
A Course in Machine LearningHal Daumé III—ciml.info
Mining Massive DatasetsLeskovec, Rajaraman, Ullman—stanford.edu
The Hundred-Page Machine Learning BookAndriy Burkov2019themlbook.com

🗣️ NLP / LLMs

BookAuthor(s)YearOfficial Link
RAG + Knowledge Graph Master CourseAddy2026thequery.in
Speech and Language Processing (3rd ed., draft)Daniel Jurafsky, James Martin2026 (active draft)web.stanford.edu
Foundations of Statistical Natural Language ProcessingManning, Schütze1999nlp.stanford.edu
An Introduction to Information RetrievalManning, Raghavan, Schütze2008nlp.stanford.edu
AI Agent EvaluationHallie Ren2026hallieren.github.io
Research, Rewritten: Using AI to Produce Knowledge You Can TrustHallie Ren2026hallieren.github.io
NLTK BookBird, Klein, Loper—nltk.org

🧮 Mathematics for ML

BookAuthor(s)YearOfficial Link
Mathematics for Machine LearningDeisenroth, Faisal, Ong2020mml-book.github.io
The Matrix CookbookPetersen, Pedersen—uwaterloo.ca
Convex OptimizationBoyd, Vandenberghe2004stanford.edu
Linear Algebra Done WrongSergei Treil—brown.edu

🖥️ ML Systems / Infrastructure

BookAuthor(s)YearOfficial Link
Machine Learning Systems (Vol. I & II)Harvard-Edge2025–2026mlsysbook.ai

👁️ Computer Vision

BookAuthor(s)YearOfficial Link
Computer Vision: Algorithms and Applications (2nd ed.)Richard Szeliski2022szeliski.org/Book (simple sign-up, free download)
Computer Vision: Models, Learning, and InferenceSimon J.D. Prince2012computervisionmodels.com
Foundations of Computer VisionAntonio Torralba, Phillip Isola, William T. Freeman2024visionbook.mit.edu

🎨 Generative Models (Diffusion, GANs, VAEs)

BookAuthor(s)YearOfficial Link
Deep Generative Modeling (2nd ed.)Jakub M. Tomczak2024jmtomczak.github.io — covers mixture models, autoregressive models, flows, VAEs, GANs, score-based/diffusion, energy-based models, and LLMs
An Introduction to Variational AutoencodersDiederik P. Kingma, Max Welling2019arxiv.org
The Principles of Diffusion ModelsChieh-Hsin Lai, Yang Song, Dongjun Kim, Yuki Mitsufuji, Stefano Ermon2025arxiv.org

🔗 Causal Inference

BookAuthor(s)YearOfficial Link
Causal Inference: What IfMiguel Hernán, James Robins2020 (updated)miguelhernan.org/whatifbook

🕸️ Graph Neural Networks

BookAuthor(s)YearOfficial Link
Graph Representation LearningWilliam L. Hamilton2020cs.mcgill.ca/~wlh/grl_book
Deep Learning on GraphsYao Ma, Jiliang Tang2021yaoma24.github.io
Graph Neural Networks: Foundations, Frontiers, and ApplicationsLingfei Wu, Peng Cui, Jian Pei, Liang Zhao2022graph-neural-networks.github.io

🛡️ AI Safety / Alignment

BookAuthor(s)YearOfficial Link
Introduction to AI Safety, Ethics, and SocietyDan Hendrycks (Center for AI Safety)2024aisafetybook.com — open access, includes a free companion course

🎓 Advanced RL / Theory

BookAuthor(s)YearOfficial Link
Reinforcement Learning: Theory and AlgorithmsAgarwal, Brantley, Jiang, Kakade, Sun2022 (continuously updated)rltheorybook.github.io
Reinforcement Learning and Optimal ControlDimitri Bertsekas2019author's site (ASU)
A Course in Reinforcement Learning (2nd ed.)Dimitri Bertsekas2023/2025author's site (ASU)

🤝 How to Contribute

Contributions are welcome! Before opening a PR, read CONTRIBUTING.md. Quick rules:

  1. The book must be officially and permanently free (no paid early-access, no time-limited trial).
  2. The link must point to the primary source (author's site, university, or publisher with an open license) — never Scribd, PDFCoffee, Z-Library, Library Genesis, or similar.
  3. Add it to the correct category, keeping alphabetical order by author within the table.
  4. One book per PR to keep reviews easy.

This repository does not host any files. It works as a catalog/index, pointing to where authors themselves make their books freely available. This approach:

  • Respects each author's license terms (some, like the Deep Learning Book, track reader numbers via their own site analytics).
  • Avoids copyright issues and possible takedowns of the repository.
  • Guarantees you always get the most up-to-date version (several of these books — like Speech and Language Processing and The Little Book of Deep Learning — are updated frequently).

If a link breaks, please open an issue.


Made with 📖 for the global AI/ML community.
Curated by Marcos Cruz — feel free to connect on LinkedIn.

Significant stargazers

Alan Andrade

69 followers · starred Jul 2026