How handsonllm/hands-on-large-language-models works
This repository is the companion code for a practical book on large language models. A reader chooses a chapter notebook and runs its examples, with Google Colab recommended by the README. The notebooks progress from language-model foundations through applications and model adaptation; the bonus directory extends coverage to additional topics. The README documents chapter subjects and the Colab recommendation, but no notebook source was sampled, so the graph does not infer calls or execution dependencies between chapters.
Main entry points: Chapter 1 - Introduction to Language Models.ipynb Language Models · Chapter 2 - Tokens and Token Embeddings.ipynb Tokens and Embeddings · Chapter 3 - Looking Inside LLMs.ipynb Transformer Internals · Chapter 4 - Text Classification.ipynb Text Classification
Components 14
LLM Foundations
- Language Models
chapter01/Chapter 1 - Introduction to Language Models.ipynb - Tokens and Embeddings
chapter02/Chapter 2 - Tokens and Token Embeddings.ipynb - Transformer Internals
chapter03/Chapter 3 - Looking Inside LLMs.ipynb
LLM Applications
- Text Classification
chapter04/Chapter 4 - Text Classification.ipynb - Clustering and Topics
chapter05/Chapter 5 - Text Clustering and Topic Modeling.ipynb - Prompt Engineering
chapter06/Chapter 6 - Prompt Engineering.ipynb - Generation and Tools
chapter07/Chapter 7 - Advanced Text Generation Techniques and Tools.ipynb - Semantic Search
chapter08/Chapter 8 - Semantic Search.ipynb
Multimodal and Embeddings
- Multimodal Models
chapter09/Chapter 9 - Multimodal Large Language Models.ipynb - Embedding Models
chapter10/Chapter 10 - Creating Text Embedding Models.ipynb
Model Adaptation
- BERT Fine-Tuning
chapter11/Chapter 11 - Fine-Tuning BERT.ipynb - Generation Fine-Tuning
chapter12/Chapter 12 - Fine-tuning Generation Models.ipynb
Bonus Topics
- Advanced Extensions
bonus
Other components
- Reader
Connections 13
- Reader → Language Models: studies
README.md - Reader → Tokens and Embeddings: studies
README.md - Reader → Transformer Internals: studies
README.md - Reader → Text Classification: studies
README.md - Reader → Clustering and Topics: studies
README.md - Reader → Prompt Engineering: studies
README.md - Reader → Generation and Tools: studies
README.md - Reader → Semantic Search: studies
README.md - Reader → Multimodal Models: studies
README.md - Reader → Embedding Models: studies
README.md - Reader → BERT Fine-Tuning: studies
README.md - Reader → Generation Fine-Tuning: studies
README.md - Reader → Advanced Extensions: explores