Book description
Transformer-based language models are powerful tools for solving a variety of language tasks and represent a phase shift in the field of natural language processing. But the transition from demos and prototypes to full-fledged applications has been slow. With this book, you'll learn the tools, techniques, and playbooks for building useful products that incorporate the power of language models.
Experienced ML researcher Suhas Pai provides practical advice on dealing with commonly observed failure modes and counteracting the current limitations of state-of-the-art models. You'll take a comprehensive deep dive into the Transformer architecture and its variants. And you'll get up-to-date with the taxonomy of language models, which can offer insight into which models are better at which tasks.
You'll learn:
- Clever ways to deal with failure modes of current state-of-the-art language models, and methods to exploit their strengths for building useful products
- How to develop an intuition about the Transformer architecture and the impact of each architectural decision
- Ways to adapt pretrained language models to your own domain and use cases
- How to select a language model for your domain and task from among the choices available, and how to deal with the build-versus-buy conundrum
- Effective fine-tuning and parameter efficient fine-tuning, and few-shot and zero-shot learning techniques
- How to interface language models with external tools and integrate them into an existing software ecosystem
Publisher resources
Table of contents
- Preface
- I. LLM Ingredients
- 1. Introduction
- 2. Pre-training Data
- 3. Vocabulary and Tokenization
- 4. Architectures and Learning Objectives
- II. Utilizing LLMs
- 5. Adapting LLMs To Your Use Case
- 6. Fine-Tuning
- 7. Advanced Fine-Tuning Techniques
- 8. Alignment Training and Reasoning
- 9. Inference Optimization
- III. LLM Application Paradigms
- 10. Interfacing LLMs with External Tools
- 11. Embeddings and Representation Learning
- 12. Retrieval-Augmented Generation (RAG)
- 13. Design Patterns & System Architecture
- About the Author
Product information
- Title: Designing Large Language Model Applications
- Author(s):
- Release date: March 2025
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098150501
You might also like
book
Hands-On Large Language Models
AI has acquired startling new language capabilities in just the past few years. Driven by rapid …
book
Designing Data-Intensive Applications, 2nd Edition
Data is at the center of many challenges in system design today. Difficult issues such as …
video
Quick Guide to ChatGPT, Embeddings, and Other Large Language Models (LLMs)
9+ Hours of Video Instruction Learn how to use and launch large language models (LLMs) like …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …