Skip to content

richstokes/GPT2-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP API that lets you make (concurrent) GPT-2 requests and receive the generated text output as JSON.

Build n Run

./bnr.sh

Uses a docker image to remove the complexity of getting a working python+tensorfloww environment working locally.

You can then send a request with

curl --request POST --data '{"wp":"Never gonna give you up"}' http://localhost:2666/wp

About

🤖 (Easily) run your own GPT-2 API. Post writing prompts, get AI-generated responses

Topics

Resources

License

Stars

Watchers

Forks