Skip to Content
Building LLMs for Production
book

Building LLMs for Production

by Louis-Francois Bouchard, Louie Peters
October 2024
Intermediate to advanced
446 pages
12h 10m
English
Towards AI

Overview

“This is the most comprehensive textbook to date on building LLM applications - all essential topics in an AI Engineer's toolkit."
- Jerry Liu, Co-founder and CEO of LlamaIndex

TL;DR
With amazing feedback from industry leaders, this book is an end-to-end resource for anyone looking to enhance their skills or dive into the world of AI and develop their understanding of Generative AI and Large Language Models (LLMs). It explores various methods to adapt "foundational" LLMs to specific use cases with enhanced accuracy, reliability, and scalability. Written by over 10 people on our Team at Towards AI and curated by experts from Activeloop, LlamaIndex, Mila, and more, it is a roadmap to the tech stack of the future.

The book aims to guide developers through creating LLM products ready for production, leveraging the potential of AI across various industries. It is tailored for readers with an intermediate knowledge of Python.

What's Inside this 470-page Book (Updated October 2024)?

Hands-on Guide on LLMs, Prompting, Retrieval Augmented Generation (RAG) & Fine-tuning
Roadmap for Building Production-Ready Applications using LLMs
Fundamentals of LLM Theory
Simple-to-Advanced LLM Techniques & Frameworks
Code Projects with Real-World Applications
Colab Notebooks that you can run right away
Community access and our own AI Tutor

Table of Contents

Chapter I Introduction to Large Language Models
Chapter II LLM Architectures & Landscape
Chapter III LLMs in Practice
Chapter IV Introduction to Prompting
Chapter V Retrieval-Augmented Generation
Chapter VI Introduction to LangChain & LlamaIndex
Chapter VII Prompting with LangChain
Chapter VIII Indexes, Retrievers, and Data Preparation
Chapter IX Advanced RAG
Chapter X Agents
Chapter XI Fine-Tuning
Chapter XII Deployment and Optimization

What Experts Think About The Book

"A truly wonderful resource that develops understanding of LLMs from the ground up, from theory to code and modern frameworks. Grounds your knowledge in research trends and frameworks that develop your intuition around what's coming. Highly recommend."
- Pete Huang, Co-founder of The Neuron

“This book is filled with end-to-end explanations, examples, and comprehensive details. Louis and the Towards AI team have written an essential read for developers who want to expand their AI expertise and apply it to real-world challenges, making it a valuable addition to both personal and professional libraries.”
- Alex Volkov, AI Evangelist at Weights & Biases and Host of ThursdAI news

"This book is the most thorough overview of LLMs I've come across. An excellent primer for newcomers and a valuable reference for experienced practitioners."
- Shaw Talebi, Founder of The Data Entrepreneurs, AI Educator and Advisor

Whether you're looking to enhance your skills or dive into the world of AI for the first time as a programmer or software student, our book is for you. From the basics of LLMs to mastering fine-tuning and RAG for scalable, reliable AI applications, we guide you every step of the way.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

LLMs in Production

LLMs in Production

Matthew Sharp, Christopher Brousseau
Hands-On RAG for Production

Hands-On RAG for Production

Ofer Mendelevitch, Forrest Sheng Bao

Publisher Resources

ISBN: 9798324731472Publisher Website