---
title: "llm-cookbook vs Hands-On-Large-Language-Models"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/datawhalechina-llm-cookbook-vs-handsonllm-hands-on-large-language-models"
tools: ["datawhalechina-llm-cookbook", "handsonllm-hands-on-large-language-models"]
---

# llm-cookbook vs Hands-On-Large-Language-Models

*GraphCanon updated Aug 16, 2026*

## Verdict

Pick llm-cookbook if a Chinese version of Andrew Ng's course series on Large Language Models, tailored for developers looking to understand and get started with LLMs through Jupyter Notebooks; pick Hands-On-Large-Language-Models if consider using the 'Hands-On-Large-Language-Models' repository if your interest aligns with hands-on learning and practice of large language models through coding examples.

[llm-cookbook](https://datawhalechina.github.io/llm-cookbook/) reports 25k GitHub stars, 3.0k forks, and 10 open issues, last pushed Jun 12, 2025. [Hands-On-Large-Language-Models](https://www.llm-book.com/) has 28k stars, 6.5k forks, and 38 open issues, last pushed Apr 24, 2026. Figures are from public GitHub metadata via [llm-cookbook's repository](https://github.com/datawhalechina/llm-cookbook) and [Hands-On-Large-Language-Models's repository](https://github.com/HandsOnLLM/Hands-On-Large-Language-Models).

| | [llm-cookbook](/tools/datawhalechina-llm-cookbook.md) | [Hands-On-Large-Language-Models](/tools/handsonllm-hands-on-large-language-models.md) |
| --- | --- | --- |
| Tagline | 面向开发者的 LLM 入门教程，吴恩达大模型系列课程中文版 | Official code repo for the O'Reilly Book - 'Hands-On Large Language Models' |
| Stars | 24,544 | 28,252 |
| Forks | 2,953 | 6,531 |
| Open issues | 10 | 38 |
| Language | Jupyter Notebook | Jupyter Notebook |
| Adopt for | A Chinese version of Andrew Ng's course series on Large Language Models, tailored for developers looking to understand and get started with LLMs through Jupyter Notebooks. | Consider using the 'Hands-On-Large-Language-Models' repository if your interest aligns with hands-on learning and practice of large language models through coding examples. |
| Persona | - | - |
| Runtime | - | - |
| License | - | Apache-2.0 License |
| Categories | Developer Tools, LLM Frameworks | LLM Frameworks, Model Training |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [llm-cookbook](/tools/datawhalechina-llm-cookbook.md) | [Hands-On-Large-Language-Models](/tools/handsonllm-hands-on-large-language-models.md) |
| --- | --- | --- |
| Maintenance | Dormant (18%) | Slowing (36%) |
| Days since push | 430d | 114d |
| Open issues (now) | 10 | 38 |
| Stars delta | +123 (30d) | +642 (30d) |
| Open issues delta | +1 (30d) | 0 (30d) |
| Full report | [trust report](/tools/datawhalechina-llm-cookbook/trust.md) | [trust report](/tools/handsonllm-hands-on-large-language-models/trust.md) |

## Decision facts: llm-cookbook

- **Adopt for:** A Chinese version of Andrew Ng's course series on Large Language Models, tailored for developers looking to understand and get started with LLMs through Jupyter Notebooks.

## Decision facts: Hands-On-Large-Language-Models

- **Pricing:** freemium - The repository is free and open under the Apache-2.0 license.
- **Requirements:** - Access to Jupyter Notebook is required for running code examples provided in this repository.; - Fundamental understanding of large language models and familiarity with AI concepts would be beneficial.
- **Adopt for:** Consider using the 'Hands-On-Large-Language-Models' repository if your interest aligns with hands-on learning and practice of large language models through coding examples.
- **License detail:** Apache-2.0 License

## Choose when

### Choose llm-cookbook if…

- Tags unique to llm-cookbook: cookbook.
- Also covers Developer Tools.
- - You prefer learning in Chinese or have a better grasp when content is available in Chinese.

### Choose Hands-On-Large-Language-Models if…

- Pricing: The repository is free and open under the Apache-2.0 license..
- Requirements: - Access to Jupyter Notebook is required for running code examples provided in this repository.; - Fundamental understanding of large language models and familiarity with AI concepts would be beneficial..
- Tags unique to Hands-On-Large-Language-Models: artificial-intelligence, book, large language models, llms.
- Also covers Model Training.
- - You are focusing on practical implementation aspects detailed in a structured format as outlined by O'Reilly's authoritative book.

## When NOT to use llm-cookbook

- - If you do not require information in Chinese, other English-language resources might be more suitable and plentiful.
- - You are seeking hands-on coding practice without theoretical foundations; this tutorial integrates both theory and practical exercises but leans towards guided learning rather than open-ended coding

## When NOT to use Hands-On-Large-Language-Models

- - If you need real-time model evaluation tools rather than educational materials, as this repository primarily provides code for understanding and implementing concepts covered in a book.
- - You are seeking proprietary or more specialized frameworks that go beyond the examples provided in an educational context to meet specific, advanced use-case needs.

## Common questions

### What is the difference between llm-cookbook and Hands-On-Large-Language-Models?

llm-cookbook: 面向开发者的 LLM 入门教程，吴恩达大模型系列课程中文版. Hands-On-Large-Language-Models: Official code repo for the O'Reilly Book - 'Hands-On Large Language Models'. See the comparison table for live GitHub stats and shared categories.

### When should I choose llm-cookbook over Hands-On-Large-Language-Models?

Choose llm-cookbook over Hands-On-Large-Language-Models when Tags unique to llm-cookbook: cookbook; Also covers Developer Tools; - You prefer learning in Chinese or have a better grasp when content is available in Chinese.

### When should I choose Hands-On-Large-Language-Models over llm-cookbook?

Choose Hands-On-Large-Language-Models over llm-cookbook when Pricing: The repository is free and open under the Apache-2.0 license.; Requirements: - Access to Jupyter Notebook is required for running code examples provided in this repository.; - Fundamental understanding of large language models and familiarity with AI concepts would be beneficial.; Tags unique to Hands-On-Large-Language-Models: artificial-intelligence, book, large language models, llms; Also covers Model Training; - You are focusing on practical implementation aspects detailed in a structured format as outlined by O'Reilly's authoritative book.

### When should I avoid llm-cookbook?

- If you do not require information in Chinese, other English-language resources might be more suitable and plentiful. - You are seeking hands-on coding practice without theoretical foundations; this tutorial integrates both theory and practical exercises but leans towards guided learning rather than open-ended coding

### When should I avoid Hands-On-Large-Language-Models?

- If you need real-time model evaluation tools rather than educational materials, as this repository primarily provides code for understanding and implementing concepts covered in a book. - You are seeking proprietary or more specialized frameworks that go beyond the examples provided in an educational context to meet specific, advanced use-case needs.

### Is llm-cookbook or Hands-On-Large-Language-Models more popular on GitHub?

Hands-On-Large-Language-Models has more GitHub stars (28,252 vs 24,544). Stars measure visibility, not whether either tool fits your constraints.

### Are llm-cookbook and Hands-On-Large-Language-Models open source?

Yes - both are open-source projects on GitHub.

### Where can I find alternatives to llm-cookbook or Hands-On-Large-Language-Models?

GraphCanon lists graph-backed alternatives at [llm-cookbook alternatives](/tools/datawhalechina-llm-cookbook/alternatives) and [Hands-On-Large-Language-Models alternatives](/tools/handsonllm-hands-on-large-language-models/alternatives) ([llm-cookbook markdown twin](/tools/datawhalechina-llm-cookbook/alternatives.md), [Hands-On-Large-Language-Models markdown twin](/tools/handsonllm-hands-on-large-language-models/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/datawhalechina-llm-cookbook-vs-handsonllm-hands-on-large-language-models.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, llm-cookbook or Hands-On-Large-Language-Models?

llm-cookbook: Dormant. Hands-On-Large-Language-Models: Slowing. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for llm-cookbook and Hands-On-Large-Language-Models?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [llm-cookbook trust report](/tools/datawhalechina-llm-cookbook/trust); [Hands-On-Large-Language-Models trust report](/tools/handsonllm-hands-on-large-language-models/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=datawhalechina-llm-cookbook`](/api/graphcanon/graph?tool=datawhalechina-llm-cookbook)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
