Sahin Boydas
Random theme
Select theme

Best Deep Learning Books in 2026: From First Model to LLMs

By Sahin Boydas✓ Updated December 202614 min read

Twelve deep learning books for 2026, from your first neural network to transformers, diffusion and building a language model. Seven are free to read online.

Top pick: Understanding Deep Learning (2023)12 books, 7 free to read online

The 2026 Deep Learning Reading List

BookAuthorPublisher, yearLevelFree onlineWhy read it
Deep Learning with Python, 3rd editionFrançois Chollet & Matthew WatsonManning, 2025BeginnerYes, free to read onlineThe Keras author's hands-on start
Deep Learning for Coders with fastai and PyTorchJeremy Howard & Sylvain GuggerO'Reilly, 2020BeginnerYes, as notebooks on GitHubTop-down: train first, theory later
Grokking Deep LearningAndrew W. TraskManning, 2019BeginnerNoBuild neural networks in plain NumPy
The Little Book of Deep LearningFrançois FleuretSelf-published (Lulu), 2023Beginner to intermediateYes, PDF from the authorThe whole field in a phone-sized PDF
Understanding Deep LearningSimon J. D. PrinceMIT Press, 2023IntermediateYes, PDF at udlbook.github.ioThe clearest modern textbook
Dive into Deep LearningAston Zhang, Zachary C. Lipton, Mu Li & Alexander J. SmolaCambridge University Press, 2024Beginner to intermediateYes, at d2l.aiRunnable code for every idea
Deep Learning with PyTorch, 2nd ed.Howard Huang, Eli Stevens, Luca Antiga & Thomas ViehmannManning, 2026IntermediateNoPyTorch itself, from tensors to deployment
Deep LearningIan Goodfellow, Yoshua Bengio & Aaron CourvilleMIT Press, 2016AdvancedYes, HTML at deeplearningbook.orgThe classic reference on the theory
Deep Learning: Foundations and ConceptsChristopher M. Bishop & Hugh BishopSpringer, 2024AdvancedYes, at bishopbook.comRigorous, current and complete
Generative Deep Learning, 2nd ed.David FosterO'Reilly, 2023IntermediateNoHow generative models work, with code
Hands-On Large Language ModelsJay Alammar & Maarten GrootendorstO'Reilly, 2024IntermediateNoUsing and tuning LLMs, drawn clearly
Build a Large Language Model (From Scratch)Sebastian RaschkaManning, 2024IntermediateNo (the code is free)Code a GPT-style model yourself

Why Read Deep Learning Books in 2026?

Tutorials and model APIs get a demo working. A book explains why it works: how a network learns from its loss, why training fails, and what a transformer or a diffusion model actually computes. That is what lets you debug a model, choose an architecture or judge a new paper.

The twelve books below run from hands-on introductions to full textbooks and the newer books on large language models. Seven of them are free to read online, so you can try a chapter before you buy.

The 12 Books, One by One

For each book: what it covers, what named reviewers, teachers and endorsers said about it, its Goodreads rating and videos worth watching. Quotes are word for word from the linked page, read on 24 November or 1 December 2026. Goodreads counts every edition of a book together.

Cover of Deep Learning with Python, 3rd edition by François Chollet & Matthew Watson

Book 01 Beginner

Deep Learning with Python, 3rd edition

by François Chollet & Matthew Watson

Publisher
Manning, 2025
Goodreads
4.57 of 5 from 1,445 ratings

Why read it

François Chollet, who created Keras, and Matthew Watson start from what deep learning is and why it works, then build working models for images, text, time series and generation. The third edition (2025) runs its examples on Keras 3, which runs on TensorFlow, PyTorch or JAX, and covers language models and image generation. Read it first if you can write Python and want to train a model this week. The whole book is free to read online.

What people said

  • “Perfect for anyone interested in learning by doing from one of the industry greats.”

    Anthony Goldbloom, founder of Kaggle; endorsement printed with the book, on the book's own site deeplearningwithpython.io ↗

  • “A sharp, deeply practical guide that teaches you how to think from first principles to build models that actually work.”

    Santiago Valdarrama, founder of ml.school; endorsement printed with the book, on the book's own site deeplearningwithpython.io ↗

  • “Masterfully conveys the true essence of neural networks. A rare case in recent years of outstanding technical writing.”

    Salvatore Sanfilippo, creator of Redis; endorsement printed with the book, on the book's own site deeplearningwithpython.io ↗

Watch

Getting Started with Deep Learning with Python, Third EditionManning PublicationsManning's introduction to the third edition.
Deep Learning with Python (3e): Introduction to TensorFlow, PyTorch, JAX, and Keras (deeppy01 3)Data Science Learning Community VideosA study group works through the chapter on TensorFlow, PyTorch, JAX and Keras.
Cover of Deep Learning for Coders with fastai and PyTorch by Jeremy Howard & Sylvain Gugger

Book 02 Beginner

Deep Learning for Coders with fastai and PyTorch

by Jeremy Howard & Sylvain Gugger

Publisher
O'Reilly, 2020
Goodreads
4.4 of 5 from 282 ratings

Why read it

The book of the fast.ai course. It has you train image, text, tabular and recommendation models in the first chapters, then opens them up layer by layer until you build a training loop, optimisers and a ResNet from scratch. Chapters on putting a model into production and on data ethics sit alongside. Read it if you learn by doing and want results before the maths. The chapters are free as Jupyter notebooks.

What people said

  • “Altogether, this is one of the best sources for a programmer to become proficient in deep learning.”

    Peter Norvig, Director of Research, Google, in the book's praise on the fast.ai course site course.fast.ai ↗

  • “Don’t let those PhDs have all the fun—you too can use deep learning to solve practical problems.”

    Hal Varian, Emeritus Professor, UC Berkeley; Chief Economist, Google course.fast.ai ↗

  • “I wish there was a book like this when I started learning ML, it is an instant classic!”

    Emmanuel Ameisen, author of Building Machine Learning Powered Applications course.fast.ai ↗

Watch

Deep Learning for Coders with fastai and PyTorch: Preview of Lesson 1PyTorch FoundationJeremy Howard previews the first lesson of the book.
Practical Deep Learning for Coders: Lesson 1Jeremy HowardLesson 1 of the free fast.ai course, which is built on the same notebooks as the book.
Cover of Grokking Deep Learning by Andrew W. Trask

Book 03 Beginner

Grokking Deep Learning

by Andrew W. Trask

Publisher
Manning, 2019
Free online
No
Goodreads
4.22 of 5 from 269 ratings

Why read it

You write every network yourself in Python and NumPy, with no framework, starting from a single neuron and backpropagation. Later chapters train networks on images and text, generate Shakespeare-like text, and cover privacy-preserving ideas such as federated learning. It asks for high-school maths. Read it if you want to know what a framework does for you before you use one.

What people said

  • “An excellent introduction and overview of deep learning by a masterful teacher who guides, illuminates, and encourages you along the way.”

    Kelvin D. Meeks, International Technology Ventures. Reader endorsement printed on Manning's page manning.com ↗

  • “Excels at navigating the reader through the introductory details of deep learning in a simple and intuitive way.”

    Eremey Valetov, Lancaster University/Fermilab. Reader endorsement printed on Manning's page manning.com ↗

Watch

Learn Deep Learning with Andrew Trask: Grokking Deep LearningPython ProgrammerA seven-minute review that recommends the book as a first deep learning book.
Cover of The Little Book of Deep Learning by François Fleuret

Book 04 Beginner to intermediate

The Little Book of Deep Learning

by François Fleuret

Publisher
Self-published (Lulu), 2023
Goodreads
4.29 of 5 from 159 ratings

Why read it

A short book laid out to read on a phone, for readers with a science or engineering background. It covers how models are trained (losses, gradient descent, backpropagation, training at scale), the parts networks are built from (attention, embeddings, normalisation), the main architectures, and applications from object detection to text and image generation. Read it as a fast map of the field before a long textbook, or as a refresher. The author gives the PDF away and updates it.

What people said

  • “Big fan and big recommender of both the excellent course and book by Francois since they came out.”

    Andrei Bursuc, research scientist at valeo.ai, on Bluesky bsky.app ↗

  • “Very nice little book!”

    Norm Matloff, emeritus professor, UC Davis, on Bluesky bsky.app ↗

  • “Free book: "The Little Book of Deep Learning", by F. Fleuret”

    Caltech, Ay 119: Astroinformatics, Spring 2026 course page, which lists it as reading sites.astro.caltech.edu ↗

Cover of Understanding Deep Learning by Simon J. D. Prince

Book 05 Intermediate

Understanding Deep Learning

by Simon J. D. Prince

Publisher
MIT Press, 2023
Goodreads
4.64 of 5 from 128 ratings

Why read it

Simon Prince explains deep learning from the ground up with careful figures: fitting models, gradients and initialisation, then convolutional networks, residual networks, transformers and graph networks, and the generative models behind today's tools (GANs, normalising flows, variational autoencoders and diffusion). It ends with chapters on reinforcement learning, on why deep learning works, and on ethics. Read it if you want the ideas, not one library's API. The author gives the PDF away, with notebooks for each chapter.

What people said

  • “… this book is an excellent choice for anyone interested in studying Deep Learning.”

    Chawalsak Phetchanchai, Suan Dusit University, in a review for the Journal of Science Innovation for Sustainable Development ph01.tci-thaijo.org ↗

  • “Main Textbook”

    University of Oklahoma, CS 5043 Advanced Machine Learning, Spring 2025 syllabus ou.edu ↗

Watch

Understanding Deep Learning -- TransformersSan Diego Machine LearningA machine learning meetup's book club works through the transformers chapter.
Understanding Deep Learning -- Fitting ModelsSan Diego Machine LearningThe same book club on the chapter about fitting models.
Cover of Dive into Deep Learning by Aston Zhang, Zachary C. Lipton, Mu Li & Alexander J. Smola

Book 06 Beginner to intermediate

Dive into Deep Learning

by Aston Zhang, Zachary C. Lipton, Mu Li & Alexander J. Smola

Publisher
Cambridge University Press, 2024
Free online
Yes, at d2l.ai
Goodreads
4.47 of 5 from 29 ratings

Why read it

This book puts the maths, the figures and runnable code side by side for every topic, from linear regression through convolutional and recurrent networks, attention and transformers, to optimisation and computer vision. The code comes in PyTorch, with versions for other frameworks online. Read it if you want to run each idea as you learn it. The whole book is free at d2l.ai.

What people said

  • “Dive into Deep Learning strikes an excellent balance between hands-on learning and in-depth explanation.”

    Colin Raffel, assistant professor, UNC Chapel Hill; endorsement printed with the book thenile.co.nz ↗

  • “… a highly welcome addition to the machine learning literature, with a focus on hands-on experience implemented via the integration of Jupyter notebooks”

    Bernhard Schölkopf, director, Max Planck Institute for Intelligent Systems; endorsement printed with the book thenile.co.nz ↗

  • “Dive into Deep Learning is an excellent text on deep learning”

    Jensen Huang, founder and CEO, NVIDIA; endorsement printed with the book thenile.co.nz ↗

Watch

Dive into Deep Learning D2L at WAIC'20Alex SmolaCo-author Alex Smola presents the book and its project at WAIC 2020.
Dive into Deep Learning - Lecture 1: PyTorch Tensor Basics, Operations, Functions, and BroadcastingDr. Data ScienceThe first lecture of a video course taught from the book.
Cover of Deep Learning with PyTorch, 2nd ed. by Howard Huang, Eli Stevens, Luca Antiga & Thomas Viehmann

Book 07 Intermediate

Deep Learning with PyTorch, 2nd ed.

by Howard Huang, Eli Stevens, Luca Antiga & Thomas Viehmann

Publisher
Manning, 2026 (first published 2020)
Free online
No

Why read it

PyTorch core developer Howard Huang updates the 2020 book with transformers, large language models and diffusion. It covers the tensor API, loading data, training and monitoring, convolutional networks, fine-tuning and deployment, and ends with a full medical imaging project. Read it if you already know some machine learning and want to work in PyTorch with confidence.

What people said

  • “An approachable and incremental introduction to deep learning.”

    Carl Osipov, Cognizant. Reader endorsement printed on Manning's page manning.com ↗

  • “Covers everything from beginner to advanced deep learning models using PyTorch.”

    Ted Kyi, Deep Sentinel. Reader endorsement printed on Manning's page manning.com ↗

Watch

Introducing Deep Learning and the PyTorch LibraryManning PublicationsManning's walk-through of the second edition's first chapter.
Deep Learning with PyTorch Author Interview with Eli Stevens, Luca Antiga, and Thomas ViehmannSophia YangA book club interview with the three authors of the first edition.
Cover of Deep Learning by Ian Goodfellow, Yoshua Bengio & Aaron Courville

Book 08 Advanced

Deep Learning

by Ian Goodfellow, Yoshua Bengio & Aaron Courville

Publisher
MIT Press, 2016
Goodreads
4.43 of 5 from 2,181 ratings

Why read it

Three parts: the maths and machine learning you need first, the practical deep networks of the time (feedforward, regularisation, optimisation, convolutional and recurrent networks), and research topics such as autoencoders, representation learning, structured probabilistic models and deep generative models. It predates transformers and diffusion, so pair it with a newer book. Read it for depth on the foundations. The authors keep the full text free as web pages.

What people said

  • “Written by three experts in the field, Deep Learning is the only comprehensive book on the subject.”

    Elon Musk, then cochair of OpenAI, in the publisher's praise for the book penguinrandomhouse.com ↗

  • “… the text should be mandatory reading by all data scientists and machine learning practitioners”

    Daniel D. Gutierrez, insideBIGDATA, in the publisher's praise for the book penguinrandomhouse.com ↗

Watch

The Only Deep Learning Book You NeedxvzfA short review of the book from a statistician's point of view.
Cover of Deep Learning: Foundations and Concepts by Christopher M. Bishop & Hugh Bishop

Book 09 Advanced

Deep Learning: Foundations and Concepts

by Christopher M. Bishop & Hugh Bishop

Publisher
Springer, 2024
Goodreads
4.62 of 5 from 61 ratings

Why read it

Christopher Bishop, author of Pattern Recognition and Machine Learning, and Hugh Bishop cover the core ideas of deep learning with the maths in full: probability, single and multilayer networks, gradient descent, convolutional networks, transformers, graph networks, and generative models up to diffusion. Read it if you want one rigorous, up-to-date textbook to work through. The authors publish it free to read online.

What people said

  • “Chris Bishop wrote a terrific textbook on neural networks in 1995 and has a deep knowledge of the field and its core ideas.”

    Geoffrey Hinton, endorsement printed with the book, read on the UW-Madison library record search.library.wisc.edu ↗

  • “… a modern textbook on the topic was badly needed. The "New Bishop" masterfully fills the gap”

    Yann LeCun, endorsement printed with the book, read on the UW-Madison library record search.library.wisc.edu ↗

  • “This excellent and very educational book will bring the reader up to date with the main concepts and advances in deep learning”

    Yoshua Bengio, endorsement printed with the book, read on the UW-Madison library record search.library.wisc.edu ↗

Watch

Prof. Chris Bishop's NEW Deep Learning Textbook!Machine Learning Street TalkMachine Learning Street Talk on Bishop's new textbook.
Cover of Generative Deep Learning, 2nd ed. by David Foster

Book 10 Intermediate

Generative Deep Learning, 2nd ed.

by David Foster

Publisher
O'Reilly, 2023
Free online
No
Goodreads
4.28 of 5 from 271 ratings

Why read it

Covers each family of generative model in turn, with working Keras code: variational autoencoders, GANs, autoregressive models, normalizing flows, energy-based models and diffusion models. Later chapters reach transformers and multimodal models. Read it to understand how today's image generators work under the API.

What people said

  • “But even as a May 2023 edition, it explains a lot of why current generative AI models are so powerful.”

    Sarah Oh Lam, senior fellow, Technology Policy Institute, in her review of the 2nd edition techpolicyinstitute.org ↗

  • “We will be following the Foster textbook below closely”

    Computational Creativity course, Rensselaer Polytechnic Institute, course resources page richradke.github.io ↗

Watch

Cover of Hands-On Large Language Models by Jay Alammar & Maarten Grootendorst

Book 11 Intermediate

Hands-On Large Language Models

by Jay Alammar & Maarten Grootendorst

Publisher
O'Reilly, 2024
Free online
No
Goodreads
4.28 of 5 from 327 ratings

Why read it

A visual guide, with close to 300 figures, to how transformer language models work and how to use them: tokens and embeddings, text classification and clustering, prompt engineering, semantic search and retrieval-augmented generation, multimodal models, and fine-tuning both embedding and generation models. Read it if you build with language models and want to know what happens inside them. The code is free on GitHub.

What people said

  • “… their book is a valuable resource for anyone looking to understand the main techniques behind how Large Language Models are built.”

    Andrew Ng, founder of DeepLearning.AI, in the reviews on the book's repository github.com ↗

  • “This is an exceptional guide to the world of language models and their practical applications in industry.”

    Nils Reimers, Director of Machine Learning at Cohere, creator of sentence-transformers github.com ↗

  • “I can’t think of another book that is more important to read right now.”

    Josh Starmer, StatQuest github.com ↗

Watch

Jay Alammar - "Hands-On Large Language Models: Language Understanding and Generation"Rohan AlexanderJay Alammar's talk on the book at the Toronto Data Workshop.
Cover of Build a Large Language Model (From Scratch) by Sebastian Raschka

Book 12 Intermediate

Build a Large Language Model (From Scratch)

by Sebastian Raschka

Publisher
Manning, 2024
Free online
No (the code is free)
Goodreads
4.57 of 5 from 430 ratings

Why read it

You write a GPT-style model in PyTorch step by step, with no LLM library: tokenising text, attention, the transformer blocks, pretraining, loading open weights, then fine-tuning the model to classify text and to follow instructions. The model is small enough to run on a laptop. Read it if you can code in Python and want to understand a language model by building one.

What people said

  • “Sebastian combines deep knowledge with practical engineering skills and a knack for making complex ideas simple. This is the guide you need!”

    Chip Huyen, author of Designing Machine Learning Systems and AI Engineering manning.com ↗

  • “The most understandable and comprehensive explanation of language models yet!”

    Cameron Wolfe, Senior Scientist, Netflix manning.com ↗

Watch

📚 Meet the Author: Sebastian Raschka — Build a Large Language Model (From Scratch)Manning PublicationsThe author on why he wrote the book and how to work through it.
Build an LLM from Scratch 1: Set up your code environmentSebastian RaschkaThe first of the author's code-along videos for the book.

Which Deep Learning Book Should You Read First?

If you write Python and want a model running this week, start with Deep Learning with Python (3rd edition) or Deep Learning for Coders with fastai and PyTorch. Both are free to read.

If you want to know what a framework does for you, read Grokking Deep Learning, which builds every network in plain NumPy, or skim The Little Book of Deep Learning for a short map of the field.

If you want the theory, read Understanding Deep Learning (2023). For more maths, add Bishop and Bishop's Deep Learning: Foundations and Concepts (2024) or the 2016 classic by Goodfellow, Bengio and Courville.

If you build with language models, Hands-On Large Language Models covers using and fine-tuning them, and Build a Large Language Model (From Scratch) has you write one. For where the field is going, see large language model trends and mixture of experts.

Videos That Compare the Books

Three videos that rank or compare deep learning and AI books. Each includes books from this list.

Which AI, ML, and Data Science Books Do I Recommend?Kyle KabasaresA creator goes through the AI and machine learning books he recommends, Understanding Deep Learning and Deep Learning with Python among them.
Best Books for Neural Networks or Deep LearningBhavesh BhattRanks three deep learning books, Goodfellow, Bengio and Courville's Deep Learning among them.
Stop Watching AI Tutorials. Read These 6 Books to Become a Real AI EngineerCloud X BerryCompares six AI engineering books, Hands-On Large Language Models and Build a Large Language Model (From Scratch) among them.

Frequently Asked Questions

What is the best deep learning book for beginners?

If you can write Python, start with 'Deep Learning with Python' by François Chollet and Matthew Watson (3rd edition, Manning, 2025), which is free to read online, or 'Deep Learning for Coders with fastai and PyTorch' by Jeremy Howard and Sylvain Gugger (O'Reilly, 2020), whose chapters are free as notebooks. Both have you train real models before the theory.

Is the Goodfellow, Bengio and Courville 'Deep Learning' book still worth reading?

Yes, for the foundations: its chapters on the maths, optimisation, regularisation and representation learning still hold. It was published in 2016, before transformers and diffusion models, so read it next to a newer book such as 'Understanding Deep Learning' (2023) or Bishop and Bishop's 'Deep Learning: Foundations and Concepts' (2024).

Which deep learning books are free to read online?

'Understanding Deep Learning' by Simon Prince, 'Dive into Deep Learning' by Zhang, Lipton, Li and Smola, 'Deep Learning' by Goodfellow, Bengio and Courville, 'Deep Learning: Foundations and Concepts' by Christopher and Hugh Bishop, 'Deep Learning with Python' (3rd edition), 'The Little Book of Deep Learning' by François Fleuret, and the fastai book as notebooks.

What is the best book to learn how large language models work?

'Build a Large Language Model (From Scratch)' by Sebastian Raschka (Manning, 2024) has you code a GPT-style model in PyTorch. 'Hands-On Large Language Models' by Jay Alammar and Maarten Grootendorst (O'Reilly, 2024) explains how to use, search with and fine-tune language models, with close to 300 figures.

Should I learn deep learning with PyTorch or Keras?

Most of the books here use PyTorch: the fastai book, 'Dive into Deep Learning', 'Deep Learning with PyTorch' and Raschka's LLM book. 'Deep Learning with Python' uses Keras 3, which itself runs on PyTorch, TensorFlow or JAX, so its ideas carry over.

How much maths do I need for deep learning books?

The hands-on books need school algebra and some Python. The textbooks (Goodfellow, Prince, Bishop and Bishop) use linear algebra, calculus and probability throughout. 'Mathematics for Machine Learning' by Deisenroth, Faisal and Ong, free online, covers that background.

SB
Sahin Boydas

2x exited founder, angel investor in 234 startups.

More Book Lists

Best Computer Vision Books in 202616 books, from OpenCV to Szeliski's free reference.Best Machine Learning Books in 202612 books, from Géron's hands-on guide to the statistics classics.Best Product Management Books in 202612 books, from Inspired to Continuous Discovery Habits.Best SaaS Books in 202612 books, from The SaaS Playbook to pricing and churn.Best Sales Books for Founders in 202612 books, from Founding Sales to hiring the first reps.Best AI Books for Business and Founders12 books, from Co-Intelligence to the story of Nvidia.Best Entrepreneur Biographies13 books, from Shoe Dog to Bad Blood.Best Books for CEOs13 books, from High Output Management to The Outsiders.Best Growth Marketing Books12 books, from Hacking Growth to How Brands Grow.Best Crypto Books for Founders11 books, from Princeton's Bitcoin course to Going Infinite.Best Decision Making Books12 books, from Thinking in Bets to Poor Charlie's Almanack.Best Negotiation Books for Founders13 books, from Never Split the Difference to term sheets.Best Engineering Management Books in 202614 books, from The Manager's Path to the CTO's primer.Best Product Design Books for Founders12 books, from The Design of Everyday Things to Creative Selection.Best Business Strategy Books for Founders12 books, from Good Strategy Bad Strategy to 7 Powers.Best Fintech Books for Founders11 books, from how payments move to the story of Visa.Best Startup Finance Books11 books, from reading the statements to valuation.Best Bootstrapping Books11 books, from Rework to Built to Sell.Stripe Press Books for Founders13 books, from High Growth Handbook to The Dream Machine.Books Like Zero to One11 books, from 7 Powers to Girard and the stagnation thesis.Best Silicon Valley History Books12 books, from The Code to Troublemakers and Chip War.