Skip to content

itsmehemant123/gpt2-discord-bot

Repository files navigation

GPT-2 Discord Bot

Setup

  • Install dependencies with:
pip install -r requirements.txt
  • Run the script download_model.sh by:
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 the config folder. 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.