• Open Daily: 10am - 10pm
    Alley-side Pickup: 10am - 7pm

    3038 Hennepin Ave Minneapolis, MN
    612-822-4611

Open Daily: 10am - 10pm | Alley-side Pickup: 10am - 7pm
3038 Hennepin Ave Minneapolis, MN
612-822-4611
Under The Hood: Build Every Layer of a Large Language Model from Scratch

Under The Hood: Build Every Layer of a Large Language Model from Scratch

Paperback

General Computers

Currently unavailable to order

ISBN13: 9798997125608
Publisher: Star Engineering Works
Pages: 742
Weight: 2.79
Height: 1.48 Width: 7.00 Depth: 10.00
Language: English

Most books explain how large language models work. This one makes you build one - every layer, from a scalar .backward() to a production serving stack you understand all the way down.

36 projects, one method: build it, break it, measure it. You write every system from scratch, run an experiment designed to make it fail, and read the numbers to learn why. Autograd and attention from first principles. A GPT you train yourself. Tokenizers, KV caches, speculative decoding, and fp8 serving. Quantization, MoE, and scaling laws. RLHF, RLVR, and test-time reasoning. Diffusion decoding and hybrid SSM/attention models - the 2026 frontier included.

1 different editions

Also available

Also from

Kumaresan, Ramchand

Also in

General Computers