dubzdubz / microgpt-ts
PublicA complete GPT built from scratch in TypeScript with zero dependencies
A browser-based playground to train a tiny character-level language model from scratch on text datasets and generate new samples.
How It Works
You land on a simple webpage and spot the inviting playground button promising to train your own tiny AI right in the browser.
Choose from fun lists like baby names or Pokémon, or paste your own words, one per line, to teach the AI your style.
Adjust the brain size or training length if you like, or just hit go with the easy defaults.
Click train and see the graph drop as loss shrinks, with live new words popping up to show it's getting smarter.
Switch to generate, set randomness, add a starting word, and create batches of fresh inventions.
Generate many at once for instant fun.
Peek inside the AI's mind, one prediction at a time.
Delight in endless new names, titles, or words that feel perfectly yours, all created in seconds on your screen.
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.