LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

Growing steadily, 2.5× faster than Natural Language Processing this week

7d +0.37% +408 stars in 7d
30d +1.6% +1,743 stars in 30d
Aug 26, 2026: 103,801 starsAug 27, 2026: 103,902 starsAug 28, 2026: 103,950 starsAug 29, 2026: 103,979 starsAug 30, 2026: 104,061 starsAug 31, 2026: 104,110 starsSep 1, 2026: 104,147 starsSep 2, 2026: 104,222 starsSep 3, 2026: 104,260 starsSep 5, 2026: 104,359 starsSep 6, 2026: 104,428 starsSep 7, 2026: 104,508 starsSep 8, 2026: 104,571 starsSep 9, 2026: 104,627 starsSep 10, 2026: 104,685 starsSep 11, 2026: 104,757 starsSep 12, 2026: 104,808 starsSep 13, 2026: 104,866 starsSep 14, 2026: 104,944 starsSep 15, 2026: 105,001 starsSep 16, 2026: 105,066 starsSep 17, 2026: 105,126 starsSep 18, 2026: 105,183 starsSep 19, 2026: 105,218 starsSep 20, 2026: 105,273 starsSep 21, 2026: 105,333 starsSep 22, 2026: 105,384 starsSep 23, 2026: 105,443 starsSep 24, 2026: 105,492 starsSep 25, 2026: 105,551 starsSep 26, 2026: 105,600 starsSep 27, 2026: 105,648 starsSep 28, 2026: 105,701 starsSep 29, 2026: 105,747 starsSep 30, 2026: 105,792 starsOct 1, 2026: 105,841 starsOct 2, 2026: 105,882 starsOct 3, 2026: 105,921 starsOct 4, 2026: 105,980 starsOct 5, 2026: 106,048 starsOct 6, 2026: 106,126 starsOct 7, 2026: 106,169 starsOct 8, 2026: 106,215 starsOct 9, 2026: 106,267 starsOct 10, 2026: 106,311 starsOct 11, 2026: 106,350 starsOct 12, 2026: 106,417 starsOct 13, 2026: 106,472 starsOct 14, 2026: 106,510 starsOct 15, 2026: 106,580 starsOct 16, 2026: 106,648 starsOct 17, 2026: 106,707 starsOct 18, 2026: 106,771 starsOct 19, 2026: 106,850 starsOct 20, 2026: 106,920 starsOct 21, 2026: 107,014 starsOct 22, 2026: 107,087 starsOct 23, 2026: 107,133 starsOct 24, 2026: 107,186 starsOct 25, 2026: 107,246 starsOct 26, 2026: 107,317 starsOct 27, 2026: 107,390 starsOct 28, 2026: 107,435 starsOct 29, 2026: 107,486 starsOct 30, 2026: 107,555 starsOct 31, 2026: 107,590 starsNov 1, 2026: 107,629 starsNov 2, 2026: 107,693 starsNov 3, 2026: 107,744 starsNov 4, 2026: 107,804 starsNov 5, 2026: 107,856 starsNov 6, 2026: 107,910 starsNov 7, 2026: 107,957 starsNov 8, 2026: 108,007 starsNov 9, 2026: 108,083 starsNov 10, 2026: 108,167 starsNov 11, 2026: 108,231 starsNov 12, 2026: 108,298 starsNov 13, 2026: 108,345 starsNov 14, 2026: 108,398 starsNov 15, 2026: 108,437 starsNov 16, 2026: 108,506 starsNov 17, 2026: 108,552 starsNov 18, 2026: 108,609 starsNov 19, 2026: 108,657 starsNov 20, 2026: 108,704 starsNov 21, 2026: 108,747 starsNov 22, 2026: 108,820 starsNov 23, 2026: 108,910 starsNov 24, 2026: 108,986 starsNov 25, 2026: 109,039 starsNov 26, 2026: 109,094 starsNov 27, 2026: 109,139 starsNov 28, 2026: 109,176 starsNov 29, 2026: 109,266 starsNov 30, 2026: 109,345 starsDec 2, 2026: 109,410 starsDec 3, 2026: 109,479 starsDec 4, 2026: 109,547 stars 103,801106,674109,547 Aug 26Dec 4

103,801 → 109,547 stars since Aug 26

103,814 Stars 16,928 Forks 16 Open issues

Growing steadily this week. Coverage includes a Hacker News discussion (739 points) on Jan 27 and a Hacker News discussion (417 points) on Aug 20.

Generated Dec 4, 2026

Timeline

💬 2 Hacker News discussions

aiartificial-intelligenceattention-mechanismdeep-learningfinetuningfrom-scratchgenerative-aigptinstruction-tuninglanguage-modellarge-language-modelsllmmachine-learningnatural-language-processingpretrainingpythonpytorchtokenizertransformers

Don't lose track of what's rising

The map refreshes every week. Follow @awesomemapdev for the week's biggest risers, or star the repo so you can find your way back.