#103103rd of 171 in Learning and cookbooks
hands-on-large-language-models
Companion notebooks for the O'Reilly book Hands-On Large Language Models
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts hands-on-large-language-models on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.hands-on-large-language-models is on your watch list. Its new releases and problems show there.
- Stars
- 30.5k
- License
- Apache-2.0
- Last commit
- Apr 2026
- Language
- Jupyter Notebook
24,095 on 24 Mar 202630,465 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Code for every example in the book by Jay Alammar and Maarten Grootendorst, as one Jupyter notebook per chapter. Chapters cover tokens and embeddings, transformer internals, classification, clustering, prompt engineering, semantic search and RAG, multimodal models, and fine-tuning. Notebooks were built and tested on Google Colab with a free 16GB T4 GPU.
Who it is for: Developers learning how LLMs work who want runnable chapter code
Strengths
- One notebook per chapter (12), each with an Open in Colab link
- Covers embeddings, RAG, multimodal models and fine-tuning of BERT and generation models
- Tested mainly on free Colab T4 16GB, so no local GPU is required
- Bonus folder links to visual guides on Mamba, quantization and mixture of experts
Weaknesses
- Explanatory text and figures are in the paid book, not in the repo
- Local setup is only a quick-start guide; results may differ by OS and versions
- No tagged releases; README states no pinned package versions
- Not a library or tool, only teaching code
What it needs
- GPU optional
- Needs Google Colab, Jupyter, PyTorch
Also in Learning and cookbooks
See all 171| Rank | Project | Score |
|---|---|---|
| #101 | machine_learning_examplesPython code for Lazy Programmer's online machine learning courses | 45 out of 100 |
| #102 | agent_memory_techniques30 Jupyter notebooks teaching agent memory patterns, from buffers to graphs | 44 out of 100 |
| #104 | llm-engineers-handbookCompanion code for a book on building an end-to-end LLM Twin system | 43 out of 100 |
| #105 | ai-engineer-headquartersSelf-paced AI engineering curriculum from ML basics to RAG, fine-tuning and agents | 43 out of 100 |
| #106 | ai-agents-projects-tutorialsJupyter notebooks and scripts for building agents, memory, and agent tooling | 43 out of 100 |