This repository uses a fine tuned GPT-2 (124M) model to create an interactive World of Warcraft - Quest text generator. Just type a few words, hit the button and wait ^_^
To get started on this project, follow these steps:
- Clone:
git clone https://github.com/Norod/gpt-2xy.git
andcd gpt-2xy
- Install Dependencies:
pip install -r requirements.txt
- Run server:
python main.py
- Open Web Browser and visit:
http://localhost:8080/
- Type
Hello there
and press onGENERATE MORE TEXT
- Enjoy!
You may also want to build and run this project in docker container
- Build:
docker build -t gpt-2xy .
(will take some time) - Run:
docker run -p 8080:8080 --rm -d gpt-2xy
If successful, you will see something like this:
This repository is based upon the code of the following Medium tutorial: Deploy Machine Learning Model in Google Cloud using Cloud Run