aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2022-02-22 22:01:37 -0600
committerAnthony Wang2022-02-22 22:01:37 -0600
commite1e88500eb57687383f9b9d8bedf80e32f09e658 (patch)
tree0d48a946aea056ec92670706a20f06b627827ba1
parent5e8f3591ca7bc3d441bf937b1a725951a7ea59bc (diff)
Update README with better bot usage instructions
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4fbf799..168dee2 100644
--- a/README.md
+++ b/README.md
@@ -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