Init
This commit is contained in:
28
Readme.md
Normal file
28
Readme.md
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
### Setup
|
||||
|
||||
1. Create Python venv
|
||||
```bash
|
||||
# Python 3.10 is recommended
|
||||
python3.10 -m venv .venv
|
||||
|
||||
# Enable venv
|
||||
source .venv/bin/activate
|
||||
```
|
||||
|
||||
2. Install dependencies
|
||||
```bash
|
||||
# Required for torch
|
||||
pip install typing-extensions
|
||||
|
||||
# Important to use the cuda version
|
||||
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu12
|
||||
|
||||
# Other
|
||||
pip install transformers sentencepiece sacremoses protobuf
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
1. Place `eng.ass` inside `1-Input` folder
|
||||
2. Run `AutoTrans.py` with Python in terminal (don't forget to enable venv)
|
Reference in New Issue
Block a user