{"by":"armanified","descendants":134,"id":47655408,"kids":[47658988,47660830,47658540,47656472,47657431,47659731,47660517,47656263,47657381,47657440,47656073,47658470,47656569,47661663,47661611,47661880,47664221,47657270,47657236,47656768,47661474,47659214,47666522,47656684,47657319,47664234,47659509,47659103,47657734,47659428,47663129,47659002,47658519,47661348,47662856,47656191,47657643,47658155,47662556,47658488,47660754,47661009,47676800,47658856,47657245,47660163,47656594,47671512,47658213,47793780,47741102,47656209,47662873,47662844,47660950,47661054,47656699,47662666,47656884,47661916,47657516,47660994,47657966,47657975,47667374,47664429,47659709,47659976,47656360,47657037,47658197,47658524,47658025,47657218,47661931,47659792,47657214,47656687,47656815,47659993,47657756,47657185,47658521],"score":915,"text":"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.<p>Fork it and swap the personality for your own character.","time":1775434812,"title":"Show HN: I built a tiny LLM to demystify how language models work","type":"story","url":"https://github.com/arman-bd/guppylm"}