Solutions Appendix

Comprehensive answers for all 676 exercises, derivations, and code labs.

The solutions are organized by volume and chapter. Choose a chapter below to view its complete set of worked solutions. Remember: the best way to use these is to attempt the problem first, and use the solution to verify your understanding.

Volume A: Mathematical FoundationsPart I

Volume B: Classical Machine LearningPart II

Volume C · Part 1 of 2: Deep Learning & the TransformerPart III

Volume C · Part 2 of 2: Deep Learning & the TransformerPart III

Volume D: Pretraining at ScalePart IV

Volume E: AlignmentPart V

Volume F: Inference, Tools & DeploymentPart VI

Volume G: Frontier Techniques & Future DirectionsPart VII