LLMs in Production
Engineering AI Applications

EPUB · English
Price and availability
EPUB eBookUS store
$67.99
Sign in to buyYou’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
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Manning
- Published
- 18 February 2025
- ISBN
- 9781638357254
- Subjects
- Computing & information technology, Programming & scripting languages: general, Artificial intelligence, Expert systems / knowledge-based systems, Computing and Information Technology, Programming and scripting languages: general, Artificial intelligence (AI), Expert systems / knowledge-based systems
About this book
Goes beyond academic discussions deeply into the applications layer of Foundation Models.This practical book offers clear, example-rich explanations of how LLMs work, how you can interact with them, and how to integrate LLMs into your own applications. Find out what makes LLMs so different from traditional software and ML, discover best practices for working with them out of the lab, and dodge common pitfalls with experienced advice.This book complements Sebastian Raschkas Build a Large Language Model (From Scratch), which focuses on building and understanding LLMs from the ground up, by extending that foundation into real-world productioncovering integration, cost-efficient training, and model evaluation.In LLMs in Production you will:Grasp the fundamentals of LLMs and the technology behind themEvaluate when to use a premade LLM and when to build your ownEfficiently scale up an ML platform to handle the needs of LLMsTrain LLM foundation models and finetune an existing LLMDeploy LLMs to the cloud and edge devices using complex architectures like PEFT and LoRABuild applications leveraging the strengths of LLMs while mitigating their weaknessesLLMs in Production delivers vital insights into delivering MLOps so you can easily and seamlessly guide one to production usage. Inside, youll find practical insights into everything from acquiring an LLM-suitable training dataset, building a platform, and compensating for their immense size. Plus, tips and tricks for prompt engineering, retraining and load testing, handling costs, and ensuring security.Foreword by Joe Reis.About the technologyMost business software is developed and improved iteratively, and can change significantly even after deployment. By contrast, because LLMs are expensive to create and difficult to modify, they require meticulous upfront planning, exacting data standards, and carefully-executed technical implementation. Integrating LLMs into production products impacts every aspect of your operations plan, including the application lifecycle, data pipeline, compute cost, security, and more. Get it wrong, and you may have a costly failure on your hands.About the bookLLMs in Production teaches you how to develop an LLMOps plan that can take an AI app smoothly from design to delivery. Youll learn techniques for preparing an LLM dataset, cost-efficient training hacks like LORA and RLHF, and industry benchmarks for model evaluation. Along the way, youll put your new skills to use in three exciting example projects: creating and training a custom LLM, building a VSCode AI coding extension, and deploying a small model to a Raspberry Pi.What's insideBalancing cost and performanceRetraining and load testingOptimizing models for commodity hardwareDeploying on a Kubernetes clusterAbout the readerFor data scientists and ML engineers who know Python and the basics of cloud deployment.About the authorChristopher Brousseau and Matt Sharp are experienced engineers who have led numerous successful large scale LLM deployments.
Bibliographic data © Gardners Books Ltd.