Skip to content

LLM Engineer's Handbook

Master the art of engineering large language models from concept to production
Pages
523
Published
2024
Language
English

Synopsis

This is a practical guide to building and running large language model systems in production. It follows one project from start to finish: an LLM Twin, an LLM-powered application designed to be cost-effective, scalable and modular.

The book is aimed at readers who want to get past isolated Jupyter notebooks and build end-to-end systems. Early chapters cover data engineering and data pipelines, then supervised fine-tuning and evaluation. Later sections turn to deployment on AWS and other tools, and to managing training cycles.

MLOps practice runs through the whole project. Readers meet orchestrators and prompt monitoring as the basis of LLMOps, and build a feature pipeline and an inference pipeline for a RAG application. The later material covers inference optimization, preference alignment and real-time data processing. The stated aim is deployments that solve practical problems while keeping latency low and availability high.

The intended readers are AI engineers, NLP professionals and LLM engineers, though newcomers to AI are also addressed. Basic knowledge of LLMs, Python and AWS is recommended. The approach is hands-on and technical, built around worked examples rather than theory alone.