Large Language Models: The Hard Parts

Open Source AI Solutions for Common Pitfalls

Cover of Large Language Models: The Hard Parts

PDF · English

Price and availability

PDF eBookUS store

$73.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
PDF
DRM
Not stated by the publisher
Language
English
Publisher
O'Reilly Media
Published
6 May 2026
ISBN
9798341622500
Subjects
Natural language & machine translation, Natural language and machine translation

About this book

Large language models (LLMs) have transformed natural language processing, but deploying them in applications introduces numerous technical challenges. Large Language Models: The Hard Parts offers a clear, practical examination of the limitations developers and AI engineers face when building LLM-based applications. With a focus on implementation pitfalls (not just capabilities), this book provides actionable strategies supported by reproducible Python code and open source tools.Readers will learn how to navigate key obstacles in application evaluation, input management, testing, and safety. Designed for builders and technical product leads, this guide emphasizes practical solutions to real-world problems and promotes a grounded understanding of LLM constraints and trade-offs.Design testing and evaluation strategies for nondeterministic systemsManage context, RAG, & long-context retrievalAddress output inconsistency and structural unreliabilityImplement safety and content moderation frameworksExplore alignment challenges and mitigation techniquesLeverage open source models locally

Bibliographic data © Gardners Books Ltd.