HN Hall of Fame Weekly email

NanoGPT

github.com Software & code Software projects AI & data Candidate
Screenshot of github.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 3 calendar years, with breakout response in 2 of them.

submissions
5
submitters
5
observed span
2023–2025
peak thread · 320 comments
1532 pts
latest 20+ return · 2024-06-11
114 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

Wow, fun to find this trending on HN this morning! I am currently also working on the associated video lecture (as the next episode of my video lecture series here https://karpathy.ai/zero-to-hero.html ), where I will build nanoGPT from scratch and aspire to spell everything out, as with the earlier videos. Hoping to get it out in ~2 weeks or so.

It takes a bit of effort to setup and train a proper GPT-2 model, especially if you are not familiar with GPU drivers and python environment. Also don't try to train GPT-2 on your own machine as it takes days, even with a good gaming GPU. If you are interested in trying it out, but don't have the right GPU or OS, you can check out the guide I wrote on how I did it on Azure with T4 GPU…

"The code itself aims by design to be plain and readable: train.py is a ~300-line boilerplate training loop and model.py a ~300-line GPT model definition, which can optionally load the GPT-2 weights from OpenAI." Highly educational codebase if you're interested in learning the practical details of training and finetuning your own GPTs.

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
1653

reference only — not used in Hall rules or ranking

Total comments
342

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2023-01-03nanoGPT: The simplest repository for training medium-sized GPTsisoprophlex31
2023-01-10The simplest, fastest repository for training and fine-tuning medium-sized GPTsTerretta20
2023-01-11NanoGPTFirst breakout · Best threadtrekhleb1532320
2024-06-11NanoGPT: The simplest, fastest repository for training medium-sized GPTsLatest 20+ point returnulrischa11421
2025-09-17NanoGPTnothrowaways20