August 2026
Intermediate
416 pages
9h 10m
English
Chapter 16
IN THIS CHAPTER
Understanding the architecture of LLMs
Reviewing the underlying concepts of transformers and attention
Using an LLM API in Python
Training your own LLM
Exploring the limitations of LLMs
Large language models (LLMs) are advanced AI algorithms trained on massive datasets to understand and generate human-like text, using deep neural network learning techniques. These models can perform a wide variety of tasks, including some sophisticated text and code generation. For example, John asked ChatGPT, “Give me a one-paragraph introduction to LLMs.” He received a very long paragraph, so he said, “Shorten,” and then got the following:
Read now
Unlock full access