Free books on AI, finance, and philosophy.

These are my books on machine learning, AI, finance, and philosophy. You can read every available chapter online for free, or buy a PDF if you prefer reading offline.

Machine Learning from Scratch Cover
Foundations, math, and code

Machine Learning from Scratch

Understand the mathematics. Implement the methods. Build models you can explain.

Free to read online · PDF editions available
World Models Handbook cover with a fox studying a miniature world inside a transparent sphere
Models that predict, imagine, and plan

World Models Handbook

How models learn to represent an environment, predict what happens, and plan what to do.

Free to read online · PDF editions available
Quantitative Finance Book Cover
Pricing, portfolios, execution

Quantitative Finance

Connect pricing, portfolio construction, and execution to the mathematics behind them.

Free to read online · PDF editions available
Language AI Handbook Cover
Classical NLP to modern LLMs

Language AI Handbook

From classical NLP to transformers, retrieval, agents, and production language systems.

Free to read online · PDF editions available
AI Agent Handbook Cover
Design and build autonomous agents

AI Agent Handbook

Understand the models, memory, tools, and design choices behind systems that act.

Free to read online · PDF editions available
History of Language AI Book Cover
The ideas that shaped language AI

History of Language AI

Trace the ideas and experiments that shaped the language systems we use today.

Free to read online · PDF editions available
Philosophy cover with an ancient weathered stone impossible triangle on a white background
Explore life, knowledge, and reality

Philosophy

Read philosophical works through the questions they raise and the arguments they make.

Free to read online · In progress
Build a GPT from Scratch Cover
Build a language model step by step

Build a GPT from Scratch

Follow the construction of a language model, from the first tokens to a working GPT.

Coming soon

Reader verdict

5.0

out of 5

12 five-star reader reviews

Genuine feedback, with names abbreviated for privacy.

Meet the community
“I am enjoying reading your writings. I appreciate the effort you put into it. I want to drop a note of thanks. Thank you!”
Krishnan S.Researcher
“I would like to thank you for your work. Specifically, the chapter: 'LIME Explainability: Complete Guide to Local Interpretable Model-Agnostic Explanations' was extremely helpful for me in understanding LIME and communicating to colleagues. Your work is inspiring and valuable. Thank you for doing it.”
Will G.Data Scientist
“I just came across your website where your books are available for free to read. Thank you so much for making this available to the public. This will help a lot of people.”
Vikas C.AI/ML Engineer
“I found your book Language AI Handbook's explanations of Transformer architectures and production deployment strategies to be exceptionally clear and insightful”
San Z.Researcher
“Your writing feels like a treasure trove of great material. So, thank you for compiling everything on your website!”
Griffin P.Quantitative Researcher
“Really appreciate the way you have explained the concepts. Simple to understand, yet builds up knowledge exponentially, all while reinforcing it with examples repeatedly. I've read the last two chapters `74.Self-attention & 75.Q,K,V` and I've to admit, my concepts have never been clearer. You really are doing an amazing job breaking down maths and complex concepts like a story!”
Muhammad H.AI/ML Engineer
“Thank you Michael. It's top!”
David X.Data Scientist
“I read a few of your blogs on NLP and oh WOW, they really are something, now I exactly know how all of the terms Entropy, Cross-entropy and how it is connected to Perplexity, will definitely read more of your blogs.”
Kanishk K.Reader
“I came across your collection of online handbooks covering quantitative finance, AI, and machine learning. I wanted to reach out and thank you for making such high-quality material openly available. They are incredibly helpful for my CFA Level II review and for brushing up ahead of ML interviews.”
Karim Z.Reader
“Thanks so much for establishing such an amazing community. I appreciate the opportunity to be a learner and a contributor to the community.”
Cyrille L.AI/ML Engineer
“Thanks for putting cool stuff out into the world.”
Charlie B.Applied AI
“I came across one of your books, Language AI Handbook, and man, I'm loving it. I've read many books but have never found such a comprehensive book on large models that covers everything from start to finish with such depth.”
Uon L.Reader
Read all 12 reader reviews
“I would like to thank you for your work. Specifically, the chapter: 'LIME Explainability: Complete Guide to Local Interpretable Model-Agnostic Explanations' was extremely helpful for me in understanding LIME and communicating to colleagues. Your work is inspiring and valuable. Thank you for doing it.”
Will G.Data Scientist
“Really appreciate the way you have explained the concepts. Simple to understand, yet builds up knowledge exponentially, all while reinforcing it with examples repeatedly. I've read the last two chapters `74.Self-attention & 75.Q,K,V` and I've to admit, my concepts have never been clearer. You really are doing an amazing job breaking down maths and complex concepts like a story!”
Muhammad H.AI/ML Engineer
“Thanks so much for establishing such an amazing community. I appreciate the opportunity to be a learner and a contributor to the community.”
Cyrille L.AI/ML Engineer
“I just came across your website where your books are available for free to read. Thank you so much for making this available to the public. This will help a lot of people.”
Vikas C.AI/ML Engineer
“I am enjoying reading your writings. I appreciate the effort you put into it. I want to drop a note of thanks. Thank you!”
Krishnan S.Researcher
“Thank you Michael. It's top!”
David X.Data Scientist
“Thanks for putting cool stuff out into the world.”
Charlie B.Applied AI
“I found your book Language AI Handbook's explanations of Transformer architectures and production deployment strategies to be exceptionally clear and insightful”
San Z.Researcher
“Your writing feels like a treasure trove of great material. So, thank you for compiling everything on your website!”
Griffin P.Quantitative Researcher
“I came across your collection of online handbooks covering quantitative finance, AI, and machine learning. I wanted to reach out and thank you for making such high-quality material openly available. They are incredibly helpful for my CFA Level II review and for brushing up ahead of ML interviews.”
Karim Z.Reader
“I read a few of your blogs on NLP and oh WOW, they really are something, now I exactly know how all of the terms Entropy, Cross-entropy and how it is connected to Perplexity, will definitely read more of your blogs.”
Kanishk K.Reader
“I came across one of your books, Language AI Handbook, and man, I'm loving it. I've read many books but have never found such a comprehensive book on large models that covers everything from start to finish with such depth.”
Uon L.Reader

Community

Learn with the community.

Create a free account to keep your reading organized and take part in discussions.

  • Keep your place across books and articles
  • Ask questions and share what you learn
  • Read with fewer interruptions

Create your free account

By continuing, you agree to our Terms and Privacy Policy.

Already a member? Sign in