llm-book.com
Hands-On Large Language Models
An illustrated guide to understanding and applying language models.
https://www.llm-book.com/About This Resource
An illustrated guide to understanding and applying language models. It covers concepts such as embeddings and transformers alongside practical techniques for classification, search, generation, and adaptation.
Saved Notes
Original notes saved with this link. They may describe an earlier version.
Explore the world of Large Language Models with over 275 custom made figures in this illustrated guide!

Book Cover
Reviews
About the Book
Through the visually educational nature of this book and with over 250 custom made figures,
Python developers will learn the practical tools and concepts they need to use Large Language Models today.
Table of Contents
About the Authors
Jay Alammar is Director and Engineering Fellow at Cohere. Through his popular AI blog, Jay has helped millions of researchers and engineers visually understand machine learning tools and concepts from the basic to the cutting-edge (Transformers, BERT, GPT-3, Stable Diffusion). Jay is also a co-creator of popular machine learning and natural language processing courses on Deeplearning.ai and Udacity.
Maarten Grootendorst is a Senior Clinical Data Scientist at IKNL. He holds two master's degrees in psychology and one in data science, which he leverages to create visual guides in his AI blog. He is the author and maintainer of open source packages (BERTopic, PolyFuzz, KeyBERT) that have been downloaded millions of times and used by data professionals worldwide.