Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Geoffery10/GPT-2-Discord-Chat-Bot

Repository files navigation

GPT-2 Discord Chat Bot (2021)

Icon

Overview

This is a Discord bot built with a custom-trained GPT-2 model for chat interaction. The bot uses CSV files as training data to power its conversational AI.

Requirements

Install dependencies:

pip install -r requirements.txt

Setup

  1. Create scripts directory for CSV training data
  2. Ensure proper Discord bot token in environment in .env
  3. Configure channel IDs in the code

Features

  • Channel-specific message tracking
  • Quit command: @BotUser !quit in designated channel
  • Model training workflow for conversation datasets

Usage

  1. Run the bot with:
python bot.py
  1. Interact in designated channels to see responses

Notes

The bot uses CSV files in the scripts directory as training data for its GPT-2 model. Model training details are in model/model_train_upload_workflow.py.

About

Custom Trained GPT-2 Discord Chat Bot

Topics

Resources

Stars

Watchers

Forks