kuhung / slack-gpt2

OpenAI's GPT2 integrated with slack.

Home Page:https://kuhungio.me/2019/slack-gpt2-bot/?utm_source=github&utm_campaign=gpt2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slack GPT2

Just @ this bot and type in a message to get an output from GPT2 conditioned on the message.

Installation

First setup your slack integration and obtain the bot oauth token. Then paste the bot token into starterbot.py.

conda create -n slackbot python=3.6
source activate slackbot
pip install -r requirements.txt
cd gpt2
pip install -r requirements.txt
python download_model.py 117M
cd ..
python starterbot.py

Thanks to these libraries for making it easy.

slack-starterbot

A simple Python-powered starter Slack bot. Read the tutorial for a full overview.

gpt-2

Code for the paper "Language Models are Unsupervised Multitask Learners"

About

OpenAI's GPT2 integrated with slack.

https://kuhungio.me/2019/slack-gpt2-bot/?utm_source=github&utm_campaign=gpt2

License:MIT License


Languages

Language:Python 100.0%