gpt2-discord-bot
gpt2-discord-bot copied to clipboard
discord bot, but its gpt-2
GPT-2 Discord Bot
Setup
- Install dependencies with:
pip install -r requirements.txt
- Run the script
download_model.shby:
sh download_model.sh 117M
This should download the gpt-2 model. 117M is the smallest model, 345M is a larger variant.
- Create
auth.json, and place it inside theconfigfolder. Its content should be:
{
"token": "<your_token>",
"client_id": "<client_id>"
}
How to run
- Run the script with:
python gpt-chatbot-client.py
Improvements
- Enable finetuning.