GPT-2 fediverse bot
Go to file
Emile 282aee09e0 wip unf work for telegram selector 2021-07-06 00:54:58 +01:00
src wip unf work for telegram selector 2021-07-06 00:54:58 +01:00
.gitignore Cleaned up import paths and added more gpt to gitignore 2021-06-28 19:59:54 +01:00
Cargo.lock wip unf work for telegram selector 2021-07-06 00:54:58 +01:00
Cargo.toml wip unf work for telegram selector 2021-07-06 00:54:58 +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.