4 ms·
If you want to play with your own GPT-2 API, I put this together and shared it on HN yesterday: https://github.com/cortexlabs/cortex/tree/master/examples/pytorc
by calebkaiser 6y ago
If you want to play with your own GPT-2 API, I put this together and shared it on HN yesterday: https://github.com/cortexlabs/cortex/tree/master/examples/pytorch/text-generator https://github.com/cortexlabs/cortex/tree/master/examples/py...
You can run that and deploy your own GPT-2 API locally, or in the cloud. I'd also recommend checking out Max Woolf's gpt-2-simple, which is a library that makes it really easy to fine tune GPT-2 with your own text (if you've played the free version of AI Dungeon, this is how they trained their model):
https://github.com/minimaxir/gpt-2-simple https://github.com/minimaxir/gpt-2-simple