Fix pip command to install pytorch instead of old torch package
This commit is contained in:
parent
4a9671c958
commit
123846ed7d
|
@ -4,7 +4,7 @@ Fediverse ebooks bot using neural networks
|
|||
|
||||
## Usage
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue