GPT-2 fediverse bot
Go to file
Izzy Swart 9b89311c44 Prefer combinators to pattern matching, handle errors idiomatically 2021-07-03 17:21:54 -07:00
src Prefer combinators to pattern matching, handle errors idiomatically 2021-07-03 17:21:54 -07:00
.gitignore Cleaned up import paths and added more gpt to gitignore 2021-06-28 19:59:54 +01:00
Cargo.lock Prefer combinators to pattern matching, handle errors idiomatically 2021-07-03 17:21:54 -07:00
Cargo.toml Prefer combinators to pattern matching, handle errors idiomatically 2021-07-03 17:21:54 -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.