Sign in

datawhalechina /diy-llm

Covers pre-training data, Tokenizer, Transformer, MoE,distributed training, Scaling Laws, inference & alignment .6 progressive code assignments for full-stack LLM learning | 涵盖预训练数据、分词器、Transformer、MoE、分布式训练、缩放定律、推理与对齐,6 项渐进代码作业,掌握 LLM 全栈知识

Covers pre-training data, Tokenizer, Transformer, MoE,distributed training, Scaling Laws, inference & alignment .6 progressive code assignments for full-stack LLM learning Machine translation by Claude Sonnet 5.5. A wrong translation? Report an error

Read the English README on GitHub (README_EN.md, a file of the repository)

Stars
2,828 stars
Forks
272 forks
Language
Jupyter Notebook
License
Not reported
Created
Nov 24, 2025
Last push
Nov 5, 2026
Updated
Nov 6, 2026
Why these Tags: an agent read the README and quoted it
  • Course from the readme: 目前课程包含 **16 章正文 + 6 个配套作业** (machine translation by Claude Sonnet 5.5: The course currently contains **16 chapters of main text + 6 accompanying assignments**)
  • Exercise solutions from the readme: 6 个作业给出可运行的实现,并复盘"写下每一行代码时的思考过程" (machine translation by Claude Sonnet 5.5: The 6 assignments come with runnable implementations, and review "the thought process while writing each line of code")

An agent gave these Tags from the fixed Tag list in the AwesomeRepos source code. A code check kept each Tag only when its quote is in the text. A wrong Tag? Report an errorwith the form at the end of this page.

Admitted to the Repository Index on Nov 5, 2026: +775 stars in 7 days.

Star History

183 days recorded, May 8, 2026 – Nov 6, 2026 (UTC). Net change +2,143 stars.

Stars at the end of each day2,828 now
1K
May 8, 2026Nov 6, 2026
Net stars each dayhighest +360
+360 on Oct 29, 2026V0.2, Aug 17, 2026V0.1, Jun 10, 2026
May 8, 2026Nov 6, 2026

The star count of each day is the latest count minus the net stars of the later days.

Add this Star History to a README

The images follow the light or dark theme of the page that shows them, and update every hour. Add ?theme=light or ?theme=darkto the chart address to keep one theme.

Star History chart

[![Star History of datawhalechina/diy-llm](https://awesomerepos.com/datawhalechina/diy-llm/stars.svg)](https://awesomerepos.com/datawhalechina/diy-llm)

Badge

[![AwesomeRepos](https://awesomerepos.com/datawhalechina/diy-llm/badge.svg)](https://awesomerepos.com/datawhalechina/diy-llm)

Timeline

It gained stars on 178 of the 183 days recorded since May 8, 2026.

Its largest 7 days were Oct 23, 2026 to Oct 29, 2026: 848 stars.

In the 30 days to Nov 6, 2026 it got 1,393 stars, 874% more than in the 30 days before.

  1. Created on the Repository Host
  2. Release V0.1: diy-llm-V0.1-2026-06-10
  3. Reached 1,000 stars, 227 days after it was created
  4. Release V0.2: diy-llm-V0.2-2026-08-17
  5. +165 stars in one day
  6. Largest star day recorded: +360 stars
  7. +147 stars in one day
  8. Entered the Repository Index: +775 stars in 7 days
  9. Latest push

The timeline comes from the creation date and the releases on the Repository Host, the Admission, the Star History, and the Observations. Star milestones show only when the Star History records the day. The list shows up to 5 stable releases from the latest 10 releases recorded. When none of them is stable, one item counts the pre-releases. On the chart of net stars each day, a solid line marks each recorded release.

Forks and pushes

From 2 Observations, Nov 6, 2026 – Nov 7, 2026. Forks +3. AwesomeRepos saw a new push on 0 of 1 days.

Forks272
  1. Nov 7, 2026: no new push

A filled day: the last push time changed since the Observation before it.

Health facts

Measured facts in four separate dimensions, each with a date and a source. AwesomeRepos does not add them into one score. AwesomeRepos last read these facts from GitHub on Nov 7, 2026. How AwesomeRepos defines each check

Maintenance

4 of 4 checks
  • Yes: Not archived

    GitHub does not mark the repository as archived. Source

  • Yes: A push in the last 90 days

    Last push on 2026-11-05, 1 day ago. Source

  • Yes: Commits in the last 13 weeks

    62 commits on the default branch in the last 13 weeks (GitHub, 2026-11-07). Source

  • Yes: Commits in 26 or more of the last 52 weeks

    Commits in 41 of the last 52 weeks (GitHub, 2026-11-07). Source

  1. 0
  2. 0
  3. 61
  4. 75
  5. 60
  6. 26
  7. 40
  8. 3
  9. 6
  10. 41
  11. 8
  12. 21
  13. 86
  14. 1
  15. 5
  16. 0
  17. 23
  18. 31
  19. 18
  20. 24
  21. 12
  22. 15
  23. 27
  24. 22
  25. 3
  26. 9
  27. 1
  28. 22
  29. 0
  30. 0
  31. 20
  32. 1
  33. 3
  34. 0
  35. 0
  36. 1
  37. 9
  38. 16
  39. 6
  40. 15
  41. 4
  42. 3
  43. 2
  44. 8
  45. 0
  46. 0
  47. 1
  48. 6
  49. 0
  50. 0
  51. 11
  52. 12
Commits on the default branch each week, the oldest week at the left.

Releases

1 of 3 checks
  • Yes: A release in the last 365 days

    Newest release V0.2 on 2026-08-17, 81 days ago. 2 releases in the last 365 days. Source

  • No: The newest release tag is a semantic version

    The newest release tag is V0.2. Source

  • No: A changelog file at the root

    No changelog file at the root (GitHub, 2026-11-07).

Security practice

0 of 1 check
  • No: A security policy

    GitHub finds no security policy (GitHub, 2026-11-07).

OpenSSF Scorecard has no result for this repository from the last 90 days.

Community files

1 of 3 checks
  • No: A licence

    GitHub finds no licence. Source

  • Yes: A contributing guide

    GitHub finds a contributing guide (GitHub, 2026-11-07). Source

  • No: A code of conduct

    GitHub finds no code of conduct (GitHub, 2026-11-07).

Dependencies in the index

This section shows the packages that connect this repository to other repositories in the index.

GitHub has no dependency graph for this repository (scanned on Nov 7, 2026).

No scanned repository names a package from this repository.

Uses (in the index) · 0

None.

Used by (in the index) · 0

None.

Sources: the GitHub dependency graph of each repository, and deps.dev for the source repository of each package. A dependency graph also names development packages. deps.dev takes most source repositories from package metadata. How the dependency graph is made

Observations

Latest Observation, Nov 7, 2026: 2,828 stars, 272 forks, last push Nov 5, 2026, not archived. One of 2 Observations since Nov 6, 2026.

Report a problem with this page

Do not include personal data. AwesomeRepos keeps the message, the page, and the time.