nndl/llm-beginner

《大模型与智能体》电子书与 6 个编程任务:Transformer、mini-GPT、SFT/DPO、RAG、工具调用与编程智能体。

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 10 minutes ago
Added to GitGenius on September 9th, 2026
Created on March 29th, 2017
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 1,361
Total Stargazers: 6,739 (+0)
Total Subscribers: 100 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 807.8 days
Mean response time: 1590.9 days
90th percentile: 2374.1 days
Tracked items: 2

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

LLM-Beginner is an educational resource combining an electronic textbook with six progressive programming tasks that teach large language model fundamentals and agent development.

The resource addresses the challenge of learning LLM development from first principles through a structured curriculum. It progresses from implementing core components—attention mechanisms and Transformers—through building a small language model, then advances to fine-tuning techniques, retrieval-augmented generation, tool-calling agents, and finally a coding agent capable of modifying and testing code. Each task requires learners to implement key components from scratch before comparing their work against established frameworks, with self-checking scripts provided to validate results.

The material suits developers with Python and deep learning foundations who want hands-on understanding of LLM internals rather than just API usage. The six tasks are designed to be completed sequentially but can be approached selectively based on prior knowledge. The curriculum emphasizes implementation-first learning, where understanding principles through coding precedes exposure to production frameworks. The textbook covers neural networks, Transformer architecture, model training, human alignment, and agent construction across four conceptual sections. Tasks range from two to six weeks depending on learning pace and experimental scope, with resource requirements varying by task.

The project maintains active engagement with learners through issue tracking and provides self-contained task directories with implementation requirements, data scripts, and interface specifications. The curriculum uses the Qwen model series consistently throughout and prioritizes Chinese language content where appropriate, with English used only when English datasets offer significant advantages. Development activity shows ongoing refinement of task specifications and learning materials, with the textbook manuscript in preparation for publication and content updated as revisions are made.