This is my attempt at making an LLM with just python and numPy. However, that's really hard, and so I've started with a small character-level name generator.
A few notes:
Sometimes the model may output something random, like nothing at all or just a letter. So keep pressing the button until a sensical name pops up.
Overall, the finished product is rather unimpressive (unless you have a similar taste in names to Elon); I highly suggest you check out the Github Repository, which is a little more interesting.
I got a lot of inspiration (and the names dataset) from Andrej Karpathy's Nueral Networks series. It was really helpful and fun to watch so you should check it out.