Lurker News
Built a ~9M param LLM from scratch to understand how they actually work. Vanilla transformer, 60K synthetic conversations, ~130 lines of PyTorch. Trains in 5 min on a free Colab T4. The fish thinks the meaning of life is food.

Fork it and swap the personality for your own character.

Comments (134) 83 threads

Earlier comments
Leomuck#
Wow that is such a cool idea! And honestly very much needed. LLMs seem to be this blackbox nobody understands. So I love every effort to make that whole thing less mysterious. I will definitely have a look at dabbling with this, may it not be a goldfish LLM :)
Duplicake1 reply#
I love this! Seems like it can't understand uppercase letters though
armanified#
Uppercase letters were intentionally ignored.
ergocoder#
It's just so amazing that 5 years ago it would be extremely to build a conversational bot like this.

But right now people make it a hobby, and that thing can run on a laptop.
This is just so wild.

gnarlouse1 reply#
I... wow, you made an LLM that can actually tell jokes?
murkt#
With 9M params it just repeats the joke from a training dataset.

Load more comments