liveBook · Manning

Chapter 1: Generative AI: Why large language models have captured attention

What you will learn in chapter 1 of LLMs in Production

The chapter introduction compares the excitement around LLMs to the arrival of the printing press and previews questions the chapter will address.

After this chapter you will be able to

Section by section

Introduction

The chapter introduction compares the excitement around LLMs to the arrival of the printing press and previews questions the chapter will address.

Key terms: printing press, large language models, accelerate communication, deploy your own large language models, myths

1.1 Large language models accelerating communication

This section explains why LLMs attract attention as communication tools, where they are useful or unsuitable, and why turning their promise into products takes more than a capable model.

Key terms: communication, AI assistants, programming assistants, talk-to-your-data, latency-sensitive workloads, autocomplete, forecasting, outlier prediction, temperature, oversight

1.2 Navigating the build-and-buy decision with LLMs

This section argues that LLM ideas create value only when models are put into production, then introduces the choice between buying a provider’s offering and building an alternative.

Key terms: production, execution, build-and-buy decision, deploying LLMs into production, OpenAI, Google

1.2.1 Buying: The beaten path

This section explains why buying LLM access can be a practical way to prototype quickly, use specialized models and provider support, and focus on the application around the model.

Key terms: API, prototype, fail fast, domain-specific data, finetune, curating data, expertise and support, filtering and controls, edge cases, production

1.2.2 Building: The path less traveled

This section explains why an organization might build and deploy its own LLM despite the ease of buying an API service, then frames build and buy as choices that can serve different project phases.

Key terms: control, AI Dungeon, Latitude, finetuning, competitive edge, open source LLMs, BERT, SlovenBERTcina, trade secrets, integrate anywhere

1.2.3 A word of warning: Embrace the future now

Uses Borders’ failure to adapt to e-commerce to warn that relying entirely on outside LLM providers may leave companies without expertise needed for future technologies.

Key terms: Borders, inventory management system, e-commerce, Amazon, Kindle, Kobo, in-house expertise, LLMs, deployment, API

1.3 Debunking myths

The section challenges myths about who can work with LLMs, what it takes to build with them, and why a compelling demo is not yet a reliable product.

Key terms: open source models, base models, training from scratch, frameworks and libraries, OpenAssistant, linguistics, mathematics, computer science, hands-on examples, prototype

1.4 Summary

This summary recaps why language makes LLMs broadly useful, when they are a poor fit, and the tradeoffs between buying and building them.

Where this is used later

Concepts explained in this chapter

Chapter 2: Large language models: A deep dive into language modeling →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.