Shop Boppo
Limited time deal NO_OF_HOURS hours NO_OF_MINUTES minutes Limited time deal NO_OF_MINUTES minutes Limited time deal NO_OF_MINUTES minutes NO_OF_SECONDS seconds Limited time deal NO_OF_SECONDS seconds Limited time deal
To see product details, add this item to your cart. You can always remove it later.
Shipper / Seller
Amazon.com
Amazon.com
Shipper / Seller
Amazon.com
Returns
30-day refund / replacement
30-day refund / replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Read full return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Gift options
Available at checkout
Available at checkout This item is a gift. Change
At checkout, you can add a custom message, a gift receipt for easy returns and have the item gift-wrapped
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • LLM Design Patterns: A Practical Guide to Building Robust and Efficient AI Systems

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

LLM Design Patterns: A Practical Guide to Building Robust and Efficient AI Systems

4.4 out of 5 stars (17)

Purchase options and add-ons

Explore reusable design patterns, including data-centric approaches, model development, model fine-tuning, and RAG for LLM application development and advanced prompting techniques

Free with your book: PDF Copy, AI Assistant, and Next-Gen Reader

Key Features

  • Learn comprehensive LLM development, including data prep, training pipelines, and optimization
  • Explore advanced prompting techniques, such as chain-of-thought, tree-of-thought, RAG, and AI agents
  • Implement evaluation metrics, interpretability, and bias detection for fair, reliable models

Book Description

This practical guide for AI professionals enables you to build on the power of design patterns to develop robust, scalable, and efficient large language models (LLMs). Written by a global AI expert and popular author driving standards and innovation in Generative AI, security, and strategy, this book covers the end-to-end lifecycle of LLM development and introduces reusable architectural and engineering solutions to common challenges in data handling, model training, evaluation, and deployment.

You’ll learn to clean, augment, and annotate large-scale datasets, architect modular training pipelines, and optimize models using hyperparameter tuning, pruning, and quantization. The chapters help you explore regularization, checkpointing, fine-tuning, and advanced prompting methods, such as reason-and-act, as well as implement reflection, multi-step reasoning, and tool use for intelligent task completion. The book also highlights Retrieval-Augmented Generation (RAG), graph-based retrieval, interpretability, fairness, and RLHF, culminating in the creation of agentic LLM systems.

By the end of this book, you’ll be equipped with the knowledge and tools to build next-generation LLMs that are adaptable, efficient, safe, and aligned with human values.

What you will learn

  • Implement efficient data prep techniques, including cleaning and augmentation
  • Design scalable training pipelines with tuning, regularization, and checkpointing
  • Optimize LLMs via pruning, quantization, and fine-tuning
  • Evaluate models with metrics, cross-validation, and interpretability
  • Understand fairness and detect bias in outputs
  • Develop RLHF strategies to build secure, agentic AI systems

Who this book is for

This book is essential for AI engineers, architects, data scientists, and software engineers responsible for developing and deploying AI systems powered by large language models. A basic understanding of machine learning concepts and experience in Python programming is a must.

Table of Contents

  1. Introduction to LLM Design Patterns
  2. Data Cleaning for LLM Training
  3. Data Augmentation
  4. Handling Large Datasets for LLM Training
  5. Data Versioning
  6. Dataset Annotation and Labeling
  7. Training Pipeline
  8. Hyperparameter Tuning
  9. Regularization
  10. Checkpointing and Recovery
  11. Fine-Tuning
  12. Model Pruning
  13. Quantization
  14. Evaluation Metrics
  15. Cross-Validation
  16. Interpretability
  17. Fairness and Bias Detection
  18. Adversarial Robustness
  19. Reinforcement Learning from Human Feedback
  20. Chain-of-Thought Prompting
  21. Tree-of-Thoughts Prompting
  22. Reasoning and Acting
  23. Reasoning WithOut Observation
  24. Reflection Techniques
  25. Automatic Multi-Step Reasoning and Tool Use
  26. Retrieval-Augmented Generation
  27. Graph-Based RAG
  28. Advanced RAG
  29. Evaluating RAG Systems
  30. Agentic Patterns

Frequently bought together

This item: LLM Design Patterns: A Practical Guide to Building Robust and Efficient AI Systems
$42.99
Get it as soon as Saturday, Sep 19
In Stock
Ships from and sold by Amazon.com.
+
$39.99
Get it as soon as Saturday, Sep 19
In Stock
Ships from and sold by Amazon.com.
+
$41.99
Get it as soon as Saturday, Sep 19
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Choose items to buy together.

Customers also bought or read

Loading...

From the brand


From the Publisher

Free with your book

Editorial Reviews

About the Author

Ken Huang is a renowned AI expert, serving as co-chair of AI Safety Working Groups at Cloud Security Alliance and the AI STR Working Group at World Digital Technology Academy under the UN Framework. As CEO of DistributedApps, he provides specialized GenAI consulting.A key contributor to OWASP's Top 10 Risks for LLM Applications and NIST's Generative AI Working Group, Huang has authored influential books including Beyond AI (Springer, 2023), Generative AI Security (Springer, 2024), and Agentic AI: Theories and Practice (Springer, 2025) He's a global speaker at prestigious events such as Davos WEF, ACM, IEEE, and RSAC. Huang is also a member of the OpenAI Forum and project leader for the OWASP AI Vulnerability Scoring System project.

Product details

  • Publisher ‏ : ‎ Packt Publishing
  • Publication date ‏ : ‎ May 30, 2025
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 538 pages
  • ISBN-10 ‏ : ‎ 1836207034
  • ISBN-13 ‏ : ‎ 978-1836207030
  • Item Weight ‏ : ‎ 2.01 pounds
  • Dimensions ‏ : ‎ 7.5 x 1.22 x 9.25 inches
  • Best Sellers Rank: #1,141,719 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.4 out of 5 stars (17)

About the author

Follow authors to get new release updates, plus improved recommendations.
Ken Huang
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Ken Huang is an acclaimed author of 8 books on AI and Web3. He is the Co-Chair of the AI Organizational Responsibility Working Group and AI Control Framework at the Cloud Security Alliance.

In addition, Huang contributed extensively to key initiatives in the space. He is a core contributor to OWASP's Top 10 Risks for LLM Applications and heavily involved in the NIST Generative AI Public Working Group. He also provides feedback on publications like NIST SP 800-226.

A sought-after speaker, Ken has shared his insights at renowned global conferences, including those hosted by Davos WEF, ACM, IEEE, and CSA AI Summit, CSA AI Think Tank Day and World Bank. His recent co-authorship of "Blockchain and Web3: Building the Cryptocurrency, Privacy, and Security Foundations of the Metaverse" adds to his reputation, with the book being recognized as one of the must-reads in both 2023 and 2024 by TechTarget.