Volume I
The Mechanics of LLMs
Theory, Architecture, and Practice for Engineers
Accessibility options
Remove decoration while keeping all text and learning illustrations. You can also enlarge the page using your browser.
Limit movement and transitions. Your device preference still takes priority.

Volume 01 · The foundations
Theory, Architecture, and Practice for Engineers
Choose your book’s language, then its format. Prices and delivery details are shown on Amazon.
Volume I
Theory, Architecture, and Practice for Engineers
Volume I
Théorie, Architecture et Pratique pour l'Ingénieur
Volume I
Teoría, Arquitectura y Práctica para el Ingeniero
Volume I
Teoria, Arquitetura e Prática para Engenheiro
The reading journey
From language to architectures, from training to applications. Foundations for understanding and building.
For students, developers and engineers. Basic algebra helps with calculations; Python is useful for the scripts. You can follow the conceptual journey without running them.
The book follows the construction of a language model, then ways to adapt and use it. It connects text representations with Transformer architectures, training and generation strategies.
The journey extends to systems: document retrieval, agents, protocols and evaluation. Companion scripts explore selected concepts in practice. Their availability and dependencies are documented in the repository.
This volume introduces the foundations. The second develops tool building, result checking and the investigation of internal mechanisms.
Companion code on GitHub
Companion code on GitHubThe repository accompanies the book. Check its contents and instructions for the resources currently available.
Reference to the French edition; pagination in other editions may differ. PDF pages 6–17 · T1-FR-20260107.