Learn to use LLMs for real tasks without drowning in algorithm theory
An open-source notebook curriculum that teaches developers to ship LLM-powered features by treating the model as a remote API, not a training exercise.

What it does
HuggingLLM is an open-source tutorial—also published as the “Butterfly Book”—that walks developers through using commercial large language model APIs to solve practical tasks. The material is delivered as Jupyter Notebooks and companion docs, covering everything from embeddings and semantic search to text generation, reasoning, and business applications. It explicitly targets builders with some coding experience who want to create services rather than researchers who want to train models.
The interesting bit
The project takes an almost rebellious stance against the usual NLP curriculum: it refuses to teach PPO, RLHF implementation details, or how to build a GPT from scratch. Instead, it treats the LLM as a remote utility, focusing on system design and prompt engineering to build things like recommendation engines, document QA bots, and customer-service agents. It also includes practical guides for domestic Chinese APIs such as Zhipu GLM and Alibaba Qwen, making it a localized alternative to English-centric tutorials.
Key highlights
- Eight standalone chapters covering similarity matching, classification, generation, reasoning, engineering pitfalls, limitations, and commercial use cases.
- Explicitly designed for non-NLP professionals; no algorithm background required.
- Provides example code and system-design context for each task, not just API snippets.
- Supports both OpenAI and major Chinese LLM APIs (GLM, Qwen).
- Includes a capstone project requirement: learners must build a working demo or application.
Caveats
- The
docsdirectory is noted as not quite final, and some chapter links in the README point to original drafts rather than polished book manuscripts. - One chapter—“ChatGPT Engineering Practice”—is listed in the outline but lacks a hyperlink in the README, so its content is unclear from the source.
- The project warns that it will not make you an algorithm engineer; if you want to understand the math behind PPO or pre-training, this is the wrong place.
Verdict
Worth bookmarking if you are a developer, product tinkerer, or student who knows how to code and wants to turn LLM APIs into working software. Skip it if you are looking for deep-dive material on transformer training, fine-tuning mechanics, or self-hosted model development.
Frequently asked
- What is datawhalechina/hugging-llm?
- An open-source notebook curriculum that teaches developers to ship LLM-powered features by treating the model as a remote API, not a training exercise.
- Is hugging-llm open source?
- Yes — datawhalechina/hugging-llm is an open-source project tracked on heatdrop.
- What language is hugging-llm written in?
- datawhalechina/hugging-llm is primarily written in Jupyter Notebook.
- How popular is hugging-llm?
- datawhalechina/hugging-llm has 3.1k stars on GitHub.
- Where can I find hugging-llm?
- datawhalechina/hugging-llm is on GitHub at https://github.com/datawhalechina/hugging-llm.