Hi there!
I challenged myself to build a tiny generative AI in PICO-8 that predicts a sentence word by word — and here’s the result!
You can easily plug in a different training dataset to explore various generation themes like zen, cooking, or radio. Right now, the default dataset is still pretty limited — but it's a starting point!
You can also tweak the context size in the generate() function — that’s the number of previous words the model looks at when predicting the next one.
Have fun experimenting — enjoy!



for some reason all its doing for me is repeating what i put in the prompt
[Please log in to post a comment]