Optimized microgpt: the most atomic GPT in pure Python (265 lines, 0 deps). Based on @karpathy's microgpt.
A standalone Python script that automatically downloads a names dataset, trains a tiny predictive model on it, and generates new invented names.
How It Works
You stumble upon this charming project online, a super simple way to train a tiny brain to invent new names from a list of real ones.
Download the single ready-to-run script to your computer – no extra setup needed.
Start the program using Python on your machine, and it takes care of downloading a public list of names if you don't have it.
Sit back as it learns step by step for about 500 rounds, showing you progress numbers and how fast each lesson happens.
Every hundred lessons, it quickly tests on fresh names to prove it's truly understanding, not just repeating.
Celebrate as it generates 20 creative, made-up names that feel real, like your own baby name inventor!
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.