Daniel Lemire publishes 741-page ML textbook covering transformers, MoE, KV cache and production deployment
lemire · x · 2026-11-27
Daniel Lemire and Robert Godin have released Introduction to Machine Learning and Artificial Intelligence with Python, a 741-page textbook requiring only basic Python and college math.
- Covers NumPy/Pandas, regression, classification, time series
- Builds a neural net with backpropagation from scratch, then moves to PyTorch
- Explains how modern LLMs are actually built: KV cache, grouped-query attention, mixture of experts, quantization
- Includes reinforcement learning and a final chapter on shipping code to production
- Exercises come with solutions; available in paperback and Kindle
More from Companies & People
- Don Knuth: "In first grade I wanted to teach first grade" — his 20-question interview — stevenstrogatz · 2026-11-27
- Armin Ronacher seeks pi-durable users for lessons-learned calls — mitsuhiko · 2026-11-27
- IBM and Microsoft have shipped 6,000 prebuilt agents — 'agent sprawl' now comes pre-assembled — mgualtieri · 2026-11-27
- Investor: Amodei is a doomsday true believer with $230B, more dangerous than Altman — StewartalsopIII · 2026-11-27
- NVIDIA blogger lands exclusive 60-minute Jensen Huang interview during European tour — kimmonismus · 2026-11-27
- 6 people shipped a skate game in 2 months, outdoing EA's decade-long effort — letkma · 2026-11-27