[P] Deploy GPT-2 on AWS
I wrote a post about how I deployed OpenAI’s GPT-2 as a web API on my AWS account. I used code from the OpenAI repo to download and export the model and Cortex to run it on AWS.
You can use this command to test out the API:
curl -k -X POST -H "Content-Type: application/json" -d '{"samples":[{"text": "machine learning"}]}' https://aefa719d5c44011e9adc30ea9bac8e9a-1873012518.us-west-2.elb.amazonaws.com/text/generator
submitted by /u/ospillinger
[link] [comments]