WyGPT: Minimal mature GPT model in C++
github.com
github.com
What's lacking is more information about the project. I was able to compile it and just started training on GPU, but I have no idea what's going on, when it will end, and what the characteristics are in general. Currently the only output I get is:
./train book-war-and-peace.txt
book-war-and-peace.txt 3.05397 1
para 1679360
32 1.3654 206.1985
I guess I need to dive into the source code in the meantime :)Output after 3 hours of training (loss = 0.4160):
hello, the sounds of the rain assistants. In provations
which had been banitz had taken step in, the spirit of the crowd, and
the right winot to scrap on , Valuex, one of marks othhhanled me in a
most powerful power. The other Augun had been in
commands among that guests, the regiments were placed by imists, and
science of irritation, but or thoughts that he would never cease to point
before meant in the losses were discussing, and at once she had lived
in the church.
From the looks of it, it's similar to MinGPT/nanoGPT (I found a Reddit thread [0] where the author compares it to MinGPT)[0] https://www.reddit.com/r/MachineLearning/comments/o2u2cm/pwy...
Having a gif the thing in use would be great, similar to the gpt4all readme page. (https://github.com/nomic-ai/gpt4all)
This looks extremely interesting, considering the author I'm inclined to give it the benefit of the doubt.
The source looks fugly, but who cares, I can reformat it. Compilers don't care.