diff options
author | Anthony Wang | 2022-02-22 22:01:37 -0600 |
---|---|---|
committer | Anthony Wang | 2022-02-22 22:01:37 -0600 |
commit | e1e88500eb57687383f9b9d8bedf80e32f09e658 (patch) | |
tree | 0d48a946aea056ec92670706a20f06b627827ba1 | |
parent | 5e8f3591ca7bc3d441bf937b1a725951a7ea59bc (diff) |
Update README with better bot usage instructions
-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 |