diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,9 +8,9 @@ First, install Python dependencies with `pip install psycopg2 torch transformers Generate the training data from the Mastodon database using `python data.py -d 'dbname=test user=postgres password=secret'`. -Next, train the network with `python train.py`, which may take several hours. +Next, train the network with `python train.py`, which may take several hours. It's a lot faster when using a GPU. -Finally, create a Mastodon application for your bot account and run the bot with `python bot.py -i mastodon.instance -t access_token`. Enjoy! +Finally, create a Mastodon application for your bot account and run the bot with `python bot.py -i mastodon.instance -t access_token -n 'Initial text'`. You can create a cron job to run this periodically. Enjoy! ## Resources |