Okładka książki
Książka po angielsku
Building a Frontier LLM from Scratch
Opis książki
Most "build an LLM" books stop at a small GPT. This one takes you all the way to the frontier.Today's leading models - DeepSeek-V3, GLM, and the reasoning systems behind them - are not just bigger GPTs. They are sparse Mixture-of-Experts networks with Multi-head Latent Attention, trained in FP8 across thousands of GPUs and taught to reason with reinforcement learning. This book builds that entire modern stack from first principles, one component at a time.Starting from tensors and automatic differentiation, you'll implement and understand every layer of a contemporary large language model - tokenization, attention, the transformer block, rotary positions, a decoder-only architecture - and then the techniques that define the frontier: fine-grained Mixture-of-Experts, Multi-head Latent Attention, Multi-Token Prediction, and sparse attention. From there it covers what it actually takes to train, align, and serve such a model at scale.What you'll understand and build: BR- The full architecture of a modern MoE language model, component by componentBR- Pretraining at scale - FP8 training, distributed and pipeline parallelism, stability, and the systems that keep a run aliveBR- Alignment from SFT and RLHF to DPO and GRPO - the reinforcement-learning recipe behind reasoning modelsBR- Inference and serving - KV-cache optimization, paged attention, quantization, continuous batchingBR- The research frontier - reasoning, agents, multimodality, and extreme efficiencyBR- Two full case studies dissecting real frontier models: DeepSeek-V3 and GLMBRWho it's for: engineers, researchers, and serious students who know some Python and want to understand modern LLMs deeply enough to build one - not just call an API.Every chapter pairs clear explanation with worked examples, illustrative code, and reference tables, and ends with exercises. The result is a single, self-contained path from import torch to a DeepSeek-style Mixture-of-Experts reasoning model.Stop treating large language models as black boxes. Build one.
- ISBN-13
- 9798182010832
- Język
- Angielski
- Waga
- 508 g
- Oprawa
- Miękka
- Wydawnictwo
- Amazon Digital Services LLC - Kdp
- Liczba stron
- 422
- Rok wydania
- 2026
- Kategoria
- Nauka, technika i medycyna
Termin wysyłki jest obecnie niedostępny.
Wszystkie podane terminy wysyłki liczymy w dniach roboczych.