AI Handbook for Engineers
How AI works, for engineers who do not work on it
Contents
Part I. How a model learns
- 1Models and loss
- 2Gradient descent
- 3Neural networks
- 4Overfitting
Part II. Language models
- 5Tokens
- 6Embeddings
- 7Next-token prediction
- 8Attention and transformers
- 9Pretraining
- 10Inference
Part III. From base model to assistant
- 11Fine-tuning
- 12Reinforcement learning
- 13Reasoning models
- 14Distillation
Part IV. Beyond text
- 15Images
- 16Diffusion
- 17Speech and audio
Part V. Building with models
- 18Prompts and context
- 19Retrieval-augmented generation
- 20Tool use and agents
- 21Evaluation
- 22Hallucination
Chapters in grey are not written yet.