Press ESC to close

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

Price: $47.71
(as of Nov 28, 2025 17:08:36 UTC – Details)

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 FeaturesLearn comprehensive LLM development, including data prep, training pipelines, and optimizationExplore advanced prompting techniques, such as chain-of-thought, tree-of-thought, RAG, and AI agentsImplement evaluation metrics, interpretability, and bias detection for fair, reliable modelsBook 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 learnImplement efficient data prep techniques, including cleaning and augmentationDesign scalable training pipelines with tuning, regularization, and checkpointingOptimize LLMs via pruning, quantization, and fine-tuningEvaluate models with metrics, cross-validation, and interpretabilityUnderstand fairness and detect bias in outputsDevelop RLHF strategies to build secure, agentic AI systemsWho 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 ContentsIntroduction to LLM Design PatternsData Cleaning for LLM TrainingData AugmentationHandling Large Datasets for LLM TrainingData VersioningDataset Annotation and LabelingTraining PipelineHyperparameter TuningRegularizationCheckpointing and RecoveryFine-TuningModel PruningQuantizationEvaluation MetricsCross-ValidationInterpretabilityFairness and Bias DetectionAdversarial RobustnessReinforcement Learning from Human FeedbackChain-of-Thought PromptingTree-of-Thoughts PromptingReasoning and ActingReasoning WithOut ObservationReflection TechniquesAutomatic Multi-Step Reasoning and Tool UseRetrieval-Augmented Generation Graph-Based RAGAdvanced RAGEvaluating RAG SystemsAgentic Patterns

From the brand

Brand story Packt booksBrand story Packt books

See more at our store

Packt is a leading publisher of technical learning content with the ability to publish books on emerging tech faster than any other.

Our mission is to increase the shared value of deep tech knowledge by helping tech pros put software to work.

We help the most interesting minds and ground-breaking creators on the planet distill and share the working knowledge of their peers.

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: #180,753 in Books (See Top 100 in Books) #19 in Computer Vision & Pattern Recognition #54 in Natural Language Processing (Books) #260 in Artificial Intelligence & Semantics
Customer Reviews: 4.6 4.6 out of 5 stars 15 ratings var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) ); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });

Leave a Reply

Your email address will not be published. Required fields are marked *

@Katen on Instagram
This error message is only visible to WordPress admins

Error: No feed with the ID 1 found.

Please go to the Instagram Feed settings page to create a feed.

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock