Mastering Large Language Models from First Principles: A Practical Guide to Building Transformers, Attention Mechanisms, Tokenizers, and Intelligent AI Applications
Language: English
Published by Independently published, 2026
- Softcover
- New

Seller: California Books, Miami, FL, U.S.A.California Books
4-star seller
AbeBooks seller since October 27, 2023
Softcover
Condition: New
US$ 28.00
Free Shipping
Ships within U.S.A.
Quantity: Over 20 available
Add to basketFree 30-day returns
Item description from seller
Print on Demand.
Seller Inventory # I-9798190792409
- Title
- Mastering Large Language Models from First Principles: A Practical Guide to Building Transformers, Attention Mechanisms, Tokenizers, and Intelligent AI Applications
- Author
- Prescott, Lin
- Publisher
- Independently published
- Publication year
- 2026
- Condition
- New
- Binding
- Soft cover
- Language
- English
- ISBN 13
- 9798190792409
Large Language Models (LLMs) are transforming how software is built, how businesses automate workflows, and how people interact with artificial intelligence. From intelligent chatbots and coding assistants to content generation, search, and reasoning systems, LLMs have become the foundation of modern AI. Yet many developers use these powerful models without truly understanding what happens behind the scenes.
Mastering Large Language Models from First Principles takes you beyond APIs and prebuilt frameworks to reveal the engineering concepts that power today's transformer-based language models. Through a practical, hands-on approach, you'll learn how every major component of an LLM works from tokenization and embeddings to self-attention, transformer architectures, pretraining, fine-tuning, evaluation, and deployment.
Rather than treating LLMs as black boxes, this book guides you through the underlying mathematics, algorithms, and implementation techniques that make them possible. You'll build essential model components step by step using Python and PyTorch, gaining the confidence to understand, customize, optimize, and extend modern language models for your own applications.
As you progress, you'll explore not only the fundamentals but also the techniques used in real-world AI systems, including efficient training strategies, parameter-efficient fine-tuning, retrieval-augmented generation (RAG), model optimization, inference acceleration, and production deployment. Each chapter combines clear explanations with practical coding examples, diagrams, and hands-on projects that reinforce your understanding and help you develop production-ready skills.
By the end of this book, you won't just know how to use Large Language Models you'll understand how they are built, how they learn, why they work, and how to adapt them to solve real-world problems across a wide range of industries.
What You'll Learn
Mastering Large Language Models from First Principles takes you beyond APIs and prebuilt frameworks to reveal the engineering concepts that power today's transformer-based language models. Through a practical, hands-on approach, you'll learn how every major component of an LLM works from tokenization and embeddings to self-attention, transformer architectures, pretraining, fine-tuning, evaluation, and deployment.
Rather than treating LLMs as black boxes, this book guides you through the underlying mathematics, algorithms, and implementation techniques that make them possible. You'll build essential model components step by step using Python and PyTorch, gaining the confidence to understand, customize, optimize, and extend modern language models for your own applications.
As you progress, you'll explore not only the fundamentals but also the techniques used in real-world AI systems, including efficient training strategies, parameter-efficient fine-tuning, retrieval-augmented generation (RAG), model optimization, inference acceleration, and production deployment. Each chapter combines clear explanations with practical coding examples, diagrams, and hands-on projects that reinforce your understanding and help you develop production-ready skills.
By the end of this book, you won't just know how to use Large Language Models you'll understand how they are built, how they learn, why they work, and how to adapt them to solve real-world problems across a wide range of industries.
What You'll Learn
- Understand the mathematics and engineering principles behind Large Language Models.
- Build transformer architectures from first principles using Python and PyTorch.
- Implement tokenization, embeddings, positional encoding, and self-attention mechanisms.
- Design, train, and evaluate transformer-based language models.
- Fine-tune pretrained LLMs for classification, instruction following, and domain-specific tasks.
- Apply parameter-efficient fine-tuning techniques such as LoRA and QLoRA.
- Build Retrieval-Augmented Generation (RAG) systems that combine language models with external knowledge.
- Optimize models through quantization, efficient inference, and performance tuning.
- Deploy LLM-powered applications for real-world use cases.
- Gain the practical skills needed to confidently work with modern AI technologies and future transformer-based architectures.
"Synopsis" may belong to another edition of this title.
California Books
Miami, FL, U.S.A.
4-star seller
AbeBooks seller since October 27, 2023
Shipping rates within U.S.A.
| Item | 3 to 7 business days | 2 to 5 business days |
|---|---|---|
| First item | US$ 0.00 | US$ 12.00 |
Payment methods
Store description
We have 20 years experience selling books worldwide! Friendly customer support. Your satisfaction guaranteed!
Specialty
All authorized categoriesSeller's business information
Miramar International Services LLC
Terms of sale
www.californiabooks.com
Shipping terms
www.californiabooks.com