GPT-2 fediverse bot
Go to file
Izzy Swart 97f84dd49b Finished implementing TelegramSelector 2021-07-05 18:39:09 -07:00
src Finished implementing TelegramSelector 2021-07-05 18:39:09 -07:00
.gitignore Finished implementing TelegramSelector 2021-07-05 18:39:09 -07:00
Cargo.lock Finished implementing TelegramSelector 2021-07-05 18:39:09 -07:00
Cargo.toml Finished implementing TelegramSelector 2021-07-05 18:39:09 -07:00
Dockerfile Added readme and docker files, because, idk, I hate life ig 2021-06-25 21:02:22 +01:00
README.md Added readme and docker files, because, idk, I hate life ig 2021-06-25 21:02:22 +01:00
docker-compose.yml Added readme and docker files, because, idk, I hate life ig 2021-06-25 21:02:22 +01:00

README.md

izzilis gpt-2 bot

Meant to be used with a finetuned GPT-2 model

Usage

just run it, it'll make a bot_config.json file in the running path

fill it out

run again

Docker Usage

The dockerfile makes a few assumptions which you must fulfill:

  • the gpt python files & model are in the gpt/ directory (this directory doesn't exist, please make it (it must contain both generate_unconditional_samples.py and the models directory containing your finetuned model))
  • you have ran the bot already. Once to generate a bot_config.json and a second time, once the aforementioned file is generated and filled out by the user, fediverse.toml from authenticating with the instance.