Just @ this bot and type in a message to get an output from GPT2 conditioned on the message.
First setup your slack integration and obtain the bot oauth token. Follow this tutorial to do it. Then paste the bot token
into starterbot.py
.
pip3 install -r requirements.txt
cd gpt2
pip3 install -r requirements.txt
python3 download_model.py 117M
cd ..
python3 starterbot.py
A simple Python-powered starter Slack bot. Read the tutorial for a full overview.
Code for the paper "Language Models are Unsupervised Multitask Learners"
Download the model: https://www.gwern.net/GPT-2#gpt-2-poetry-samples
Unzip. Go to models, replace the necessary files.