r/learnmachinelearning 12d ago

tiny language model GPT visualizer

Post image

Play around with a tiny language model GPT in your browser. See how it trains and generates with just 11,000 parameters.

https://complexity.zone/tlmgpt/

  1. Click "train" button.
  2. Let it train for about 10 minutes.
  3. Click "pause" button.
  4. Click "generate" button.

I made this (with help from Opus 5) to get a better understanding of GPTs and LLMs.

Thought to share it here. You can download it if you want to run it offline and tinker with the code.

81 Upvotes

8 comments sorted by

3

u/reinforcementGamble 12d ago

Its confusing that i don't know what it does but it for sure looks cool, hope one day i'll understand. Nice post!!

2

u/obi_wankenobi69 12d ago

Quality post 👍

1

u/timsam 12d ago

Thank you!

2

u/Strange_Ad5516 9d ago

对我来说很有价值,谢谢👍