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
mudkipdev1 reply#
This is probably a consequence of the training data being fully lowercase:

You> hello Guppy> hi. did you bring micro pellets.
You> HELLO Guppy> i don't know what it means but it's mine.

functional_dev#
Great find! It appears uppercase tokens are completely unknonw to the tokenizer.

But the character still comes through in response :)

MarkusQ1 reply#
There isn't enough training data though, is there? The "secret sauce" of LLMs is the vast amount of training data available + the compute to process it all.
algoth12 replies#
I think you could probably feed a copy of a toki pona grammar book to a big model, and have it produce ‘infinite’ training data
eden-u4#
There are not enough samples in that book to generate new "infinite" data.
mudkipdev#
People have made toki pona translation models before, not exclusively trained though
neurworlds#
Cool project. I'm working on something where multiple LLM agents share a world and interact with each other autonomously. One thing that surprised me is how much the "world" matters — same model, same prompt, but put it in a system with resource constraints, other agents, and persistent memory, the behavior changes dramatically. Made me realize we spend too much time optimizing the model and not enough thinking about the environment it operates in.
SilentM681 reply#
Would have been funny if it were called "DORY" due to memory recall issues of the fish vs LLMs similar recall issues :)
armanified#
OMG! Why didn't I thought fo this first :P

Load more comments