Update README with better bot usage instructions
This commit is contained in:
parent
5e8f3591ca
commit
e1e88500eb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue