Show HN: I built a tiny LLM to demystify how language models work (opens in a new tab)github.com
915 pointsBuilt 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 commentsThere is nothing wrong using AI tools to write code, but nothing here seems to have taken more than a generic 'write me a small LLM in PyTorch' prompt, or any specific human understanding.
The bar for what constitutes an engineering feat on HN seems to have shifted significantly.
All comments shown.
Couldn't load more comments. Check your connection and try again.