LLMs in Production you own this product

From language models to successful products
Christopher Brousseau and Matthew Sharp
Foreword by Joe Reis
  • December 2024
  • ISBN 9781633437203
  • 456 pages
  • printed in black & white

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


pBook available Dec 30, 2024
ePub + liveBook available Dec 30, 2024
Look inside
Learn how to put Large Language Model-based applications into production safely and efficiently.

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.

In LLMs in Production you will:

  • Grasp the fundamentals of LLMs and the technology behind them
  • Evaluate when to use a premade LLM and when to build your own
  • Efficiently scale up an ML platform to handle the needs of LLMs
  • Train LLM foundation models and finetune an existing LLM
  • Deploy LLMs to the cloud and edge devices using complex architectures like PEFT and LoRA
  • Build applications leveraging the strengths of LLMs while mitigating their weaknesses

LLMs in Production delivers vital insights into delivering MLOps so you can easily and seamlessly guide one to production usage. Inside, you’ll 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.

about the technology

Most 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 book

LLMs in Production teaches you how to develop an LLMOps plan that can take an AI app smoothly from design to delivery. You’ll learn techniques for preparing an LLM dataset, cost-efficient training hacks like LORA and RLHF, and industry benchmarks for model evaluation. Along the way, you’ll 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 inside

  • Balancing cost and performance
  • Retraining and load testing
  • Optimizing models for commodity hardware
  • Deploying on a Kubernetes cluster

about the reader

For data scientists and ML engineers who know Python and the basics of cloud deployment.

about the authors

Christopher Brousseau and Matt Sharp are experienced engineers who have led numerous successful large scale LLM deployments.

Covers all the essential aspects of how to build and deploy LLMs. It goes into the deep and fascinating areas that most other books gloss over.

Andrew Carr, Cartwheel

A must-read for anyone looking to harness the potential of LLMs in production environments.

Jepson Taylor, VEOX Inc.

An exceptional guide that simplifies the building and deployment of complex LLMs.

Arunkumar Gopalan, Microsoft UK

A thorough and practical guide for running LLMs in production.

Dinesh Chitlangia, AMD

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • LLMs in Production ebook for free

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • LLMs in Production ebook for free