8000 GitHub - qirh/leila_old: OpenAI's gpt-2 345M trained on poetry integrated into a slackbot
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

qirh/leila_old

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. 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

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"

Gwern's gpt2-poetry-model

Download the model: https://www.gwern.net/GPT-2#gpt-2-poetry-samples

Unzip. Go to models, replace the necessary files.

About

OpenAI's gpt-2 345M trained on poetry integrated into a slackbot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 68.3%
  • Jupyter Notebook 31.7%
0