shyshin / NanoGPT

Generative pre-trained transformer for generating Shakespeare scripts. Closely follows the same implementation by Andrej Karpathy (https://www.youtube.com/watch?v=kCc8FmEb1nY)
MIT License
0 stars 0 forks source link

GPT like output #1

Open shyshin opened 1 month ago

shyshin commented 1 month ago

Instead of return statement in generate function, implement yield logic at train.py and app.py