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

Show all comments

Showing thread 9 of 83

zwaps1 reply#
I like the idea, just that the examples are reproduced from the training data set.

How does it handle unknown queries?

armanified#
It mostly doesn't, at 9M it has very limited capacity. The whole idea of this project is to demonstrate how Language Models work.