Technical books you can read online for free

Choose a book and start with the topic you need. The collection covers machine learning from scratch, language AI, AI agents, GPT implementation, world models, the history of language AI, and quantitative finance. Each chapter explains the math and connects it to working code.
Machine Learning from Scratch Cover

Machine Learning from Scratch

Learn the math and intuition behind machine learning algorithms, then implement them in Python

42h 32m66 chapters9 parts

Machine Learning from Scratch is for readers who want to see how algorithms actually work. We derive each method from the math, build the intuition step by step, and implement it in Python so you can inspect every decision.

Machine LearningMathematical FoundationsClusteringRegressionTree-Based ModelsExplainabilityTime SeriesUnsupervised LearningOptimizationArtificial Intelligence
Language AI Handbook Cover

Language AI Handbook

Start with classical NLP, then work through transformers, LLM training, evaluation, and production

357h 29m409 of 513 chapters67 parts

The Language AI Handbook connects the pieces of modern language AI. We begin with classical NLP, build up to transformers and LLM training, then cover retrieval, evaluation, safety, and production deployment.

History of NLPNLP FundamentalsTransformer ArchitecturesLanguage ModelsFine-tuning TechniquesLatest Research
Part 1

Text as Data

54h 46m
Part 2

Classical Text Representations

98h 3m
Part 3

Distributional Semantics

43h 16m
Part 4

Word Embeddings

97h 24m
Part 5

Subword Tokenization

86h 52m
Part 6

Sequence Labeling

87h 10m
Part 7

Linguistic Form: Morphology and Syntax

2/61h 23m
Part 8

Semantics and Information Extraction

6 · Coming soon
Part 9

Coreference, Discourse, Pragmatics, and Dialogue

5 · Coming soon
Part 10

Neural Network Foundations

1310h 55m
Part 11

Recurrent Neural Networks

97h 18m
Part 12

Sequence-to-Sequence

75h 59m
Part 13

Self-Attention

64h 56m
Part 14

Positional Encoding

75h 40m
Part 15

Transformer Blocks

86h 38m
Part 16

Transformer Architectures

64h 36m
Part 17

Efficient Attention

97h 16m
Part 18

Long Context

76h 19m
Part 19

Alternative Sequence and Generative Architectures

6 · Coming soon
Part 20

Data Curation

108h 52m
Part 21

Data Governance, Provenance, and Synthetic Ecosystems

6 · Coming soon
Part 22

Pre-training Objectives

75h 41m
Part 23

Scaling Laws

75h 44m
Part 24

BERT and Variants

86h 31m
Part 25

Encoder-Decoder Models

64h 49m
Part 26

Multilingual Language Models and Cross-Lingual Transfer

7 · Coming soon
Part 27

Machine Translation and Speech Translation

7 · Coming soon
Part 28

GPT Architecture

109h 47m
Part 29

Modern Decoder Models

75h 9m
Part 30

Emergent Capabilities

65h 39m
Part 31

Training Infrastructure

119h 40m
Part 32

Training Optimization

87h 26m
Part 33

Mixture of Experts

109h 18m
Part 34

Fine-tuning Fundamentals

54h 55m
Part 35

Parameter-Efficient Fine-tuning

1212h 3m
Part 36

Instruction Tuning

65h 48m
Part 37

Alignment and RLHF

1616h 18m
Part 38

Scalable Oversight and Safety Training

5 · Coming soon
Part 39

Reasoning

76h 23m
Part 40

Reasoning Post-Training and Verifiable Rewards

7 · Coming soon
Part 41

Model Compression

64h 46m
Part 42

Inference Optimization

1413h 14m
Part 43

Small and On-Device Language Models

5 · Coming soon
Part 44

Retrieval-Augmented Generation

1414h 30m
Part 45

Knowledge, Memory, Editing, and Unlearning

6 · Coming soon
Part 46

Continual Learning

54h 19m
Part 47

Code Generation

65h 17m
Part 48

Tool Use and Agents

109h 9m
Part 49

Long-Horizon Agents and Interoperability

8 · Coming soon
Part 50

Multimodal Models

1210h 57m
Part 51

Speech and Audio

54h 55m
Part 52

Omni-Modal and Embodied Language Systems

7 · Coming soon
Part 53

Evaluation Fundamentals

108h 53m
Part 54

Benchmark Evaluation

86h 43m
Part 55

Human and Model Evaluation

65h 22m
Part 56

Hallucination and Factuality

65h 25m
Part 57

Dynamic, Interactive, and Agentic Evaluation

6 · Coming soon
Part 58

Bias and Fairness

54h 43m
Part 59

Interpretability

119h 20m
Part 60

Safety and Security

87h 31m
Part 61

Agentic AI and Protocol Security

7 · Coming soon
Part 62

Human-AI Interaction and Governance

6 · Coming soon
Part 63

LLM Applications

7
Part 64

Compound AI System Design

6 · Coming soon
Part 65

Production Systems

97h 47m
Part 66

Frontier Methods of 2025

87h 3m
Part 67

Frontier Outlook from 2025

65h 1m
Build a GPT from Scratch Cover

Build a GPT from Scratch

Build a small GPT in PyTorch, one step at a time, from transformer math to training and text generation

0 of 63 chapters11 parts

Build a GPT from Scratch takes one small language model from text input to generated output. We work through each tensor operation, connect it to the underlying math, and implement the model in readable PyTorch.

GPTTransformersSelf-AttentionBackpropagationOptimizationPyTorchLanguage ModelsDeep Learning
World Models Handbook cover with a fox studying a miniature world inside a transparent sphere

World Models Handbook

Learn how AI systems represent state, predict dynamics, imagine futures, and choose actions, from classical control to foundation world models

51h 24m54 of 72 chapters12 parts

The World Models Handbook explains how an intelligent system can build an internal model of its environment, update that model from observations, use it to imagine possible futures, and choose what to do next. It connects ideas that are often taught separately across control, reinforcement learning, robotics, generative modeling, and cognitive science.

World ModelsModel-Based Reinforcement LearningDynamical SystemsState-Space ModelsPlanning and ControlPhysical AIRoboticsMultimodal LearningCausal ModelsAI Safety
History of Language AI Book Cover

History of Language AI

Follow the history of NLP and language models, from information theory and symbolic AI to transformers and LLMs

31h 31m110 chapters9 parts

The History of Language AI traces the people and ideas behind modern language models. We follow the field from information theory and symbolic programs through neural networks and transformers, explaining what each breakthrough changed.

Early FoundationsStatistical MethodsNeural NetworksTransformer RevolutionModern LLMs
Quantitative Finance Book Cover

Quantitative Finance

Learn quantitative finance from pricing and portfolio construction through backtesting, execution, and production systems

69h 18m79 chapters15 parts

Quantitative Finance connects mathematical finance with the work of researching, testing, and running trading strategies. We move from pricing and portfolio construction through calibration, backtesting, risk, execution, and production.

Pricing ModelsPortfolio ConstructionExecution StrategiesModel CalibrationBacktestingRisk ManagementDeployment
Newsletter

Stay up to date

Get articles, book updates, and news delivered to your inbox.

No spam, unsubscribe anytime.

or

Join the community

Sign in to remove popups, track your reading progress, and join the discussion.