📈 GH Trending Explorer Updated 2026-10-29 08:13 UTC 🎲 Surprise me

← all repos

aa1143 / NamiGPT

git clone https://github.com/aa1143/NamiGPT.git

A Chinese-language tutorial that builds GPT-2 from scratch in PyTorch, step by step, and loads OpenAI's official weights for inference.

Why you might care

Aimed at beginners who know basic Python and linear algebra, it walks through tokenization, attention, and text generation using a three-word example, with runnable scripts per chapter. It avoids built-in Transformer modules, keeps the model code under 200 lines, and is checked against HuggingFace outputs.

Categories

Alternatives

nanoGPTminGPTHuggingFace TransformersKarpathy's Let's build GPT video
+73
stars, 24h · #578
+117
stars, 7 days · #2,466
+117
stars, 30 days · #7,512
117
★ total · +117% this week
8
forks · 0 open issues

Star history (as recorded here)

2026-10-28 · 44 ★ 2026-10-29 · 117 ★
LanguagePython
LicenseMIT
Created2026-10-28 (1d ago)
Last push1d ago
Watchers0
OwnerUser

GitHub topics

Links

README

Loading README…

Blurb generated by claude-haiku-5-5 1d ago. Star deltas marked ~ are extrapolated from partial history.