Book description
“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.
Table of contents
- What Experts Think About Building LLMs for Production
- Table of Contents
- Acknowledgment
- Preface
- Introduction
- Chapter I: Introduction to LLMs
-
Chapter II: LLM Architectures and Landscape
- Understanding Transformers
- Transformer Model’s Design Choices
- Transformer Architecture Optimization Techniques
- The Generative Pre-trained Transformer (GPT) Architecture
- Introduction to Large Multimodal Models
- Proprietary vs. Open Models vs. Open-Source Language Models
- Applications and Use-Cases of LLMs
- Recap
- 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
- LangChain’s Indexes and Retrievers
- Data Ingestion
- Text Splitters
- Similarity Search and Vector Embeddings
- Tutorial 1: A Customer Support Q&A Chatbot
- Tutorial 2: A YouTube Video Summarizer Using Whisper and LangChain
- Tutorial 3: A Voice Assistant for Your Knowledge Base
- Tutorial 4: Preventing Undesirable Outputs with the Self-Critique Chain
- Tutorial 5: Preventing Undesirable Outputs from a Customer Service Chatbot
- Recap
- Chapter IX: Advanced RAG
-
Chapter X: Agents
- What are Agents: Large Models as Reasoning Engines
- An Overview of AutoGPT and BabyAGI
- The Agent Simulation Projects in LangChain
- Tutorial 1: Building Agents for Analysis Report Creation
- Tutorial 2: Query and Summarize a DB with LlamaIndex
- Tutorial 3: Building Agents with OpenAI Assistants
- Tutorial 4: LangChain OpenGPT
- Tutorial 5: Multimodal Financial Document Analysis from PDFs
- Recap
- Chapter XI: Fine-Tuning
- Chapter XII: Deployment and Optimization
- Conclusion
- Further Reading and Courses
Product information
- Title: Building LLMs for Production
- Author(s):
- Release date: October 2024
- Publisher(s): Towards AI
- ISBN: 9798324731472
You might also like
book
Building Microservices, 2nd Edition
As organizations shift from monolithic applications to smaller, self-contained microservices, distributed systems have become more fine-grained. …
audiobook
Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Implementing MLOps in the Enterprise
With demand for scaling, real-time access, and other capabilities, businesses need to consider building operational machine …
book
Building LLM Powered Applications
Get hands-on with GPT 3.5, GPT 4, LangChain, Llama 2, Falcon LLM and more, to build …