GPT-2 fediverse bot
Go to file
Emile a64d52cc12 Added readme and docker files, because, idk, I hate life ig 2021-06-25 21:02:22 +01:00
src Moved fediverse config path to constant 2021-06-25 21:02:22 +01:00
.gitignore Added readme and docker files, because, idk, I hate life ig 2021-06-25 21:02:22 +01:00
Cargo.lock Initial commit: working single-post application 2021-06-25 21:02:12 +01:00
Cargo.toml Initial commit: working single-post application 2021-06-25 21:02:12 +01: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.