Revert "Fix pip command to install pytorch instead of old torch package"

This reverts commit 123846ed7d.
This commit is contained in:
Anthony Wang 2022-02-26 12:06:21 -06:00
parent 123846ed7d
commit 1a13ba9909
Signed by: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -4,7 +4,7 @@ Fediverse ebooks bot using neural networks
## Usage
First, install Python dependencies with `pip install psycopg2 pytorch transformers datasets Mastodon.py`. Currently only Mastodon with PostgreSQL is supported, but it should be easy to add support for other platforms and databases.
First, install Python dependencies with `pip install psycopg2 torch transformers datasets Mastodon.py`. Currently only Mastodon with PostgreSQL is supported, but it should be easy to add support for other platforms and databases.
Generate the training data from the Mastodon database using `python data.py -d 'dbname=test user=postgres password=secret'`. You can skip this step if you have training data from another source.