What it does
This project pairs a book about large language models and AI agents with six step-by-step programming tasks. The book and tasks are written mainly in Chinese.
The tasks build up in order: writing a Transformer (the core design behind modern AI models), training a small GPT-style model, fine-tuning it, building document question-answering, making an agent that uses tools, and finally a small coding agent. Each comes with a self-check script.
The authors say the book is being prepared for publication and is still being revised.
Who it's for
Chinese-speaking students and learners who want to understand how language models and agents work by building them.
Can I use it without coding?
Yes. The book is a free PDF. The tasks need Python and some deep learning basics. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- Runs on
- Web browser
- API key
- Not needed
Try it
- Download the free PDF of the book from the project's releases page.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page or the official download page above. Copies with similar names exist for many popular projects.
- License (MIT): Very permissive: free to use, change and share, including for business.
- More on staying safe