The Mathematics of Large Language Models

Interactive figures and worked calculations for each chapter of The Mathematics of Large Language Models: change a value, watch the figure respond, and check the arithmetic yourself.

Chapters

Notebooks on GitHub

Every chapter has a Jupyter notebook with the same figures and results, plus optional Python cells that reproduce each calculation.

Examples use book values or disclosed illustrative parameters. A mathematical illustration is not evidence about a specific AI product or a substitute for checking a factual claim.

github.com/KarpelesPublishing/math-llms