Add testing configs
This commit is contained in:
parent
5de8181959
commit
ff11c1deb3
9 changed files with 250 additions and 2 deletions
17
README.md
17
README.md
|
|
@ -3,9 +3,22 @@
|
|||
Example usage:
|
||||
|
||||
```shell
|
||||
python main.py --debug train --dataset enwik9 --data-root ~/data/datasets/ml --method optuna --model transformer --model-save-path ~/data/ml-models/test-transformer.pt
|
||||
# Fetching
|
||||
python main.py --debug train --method fetch \
|
||||
--dataset enwik9 --data-root /path/to/datasets
|
||||
|
||||
python benchmark.py --debug train --dataset enwik9 --data-root ~/data/datasets/ml --method optuna --model cnn --model-save-path ~/data/ml-models/test-cnn.pt
|
||||
# Training
|
||||
python main.py --debug train --method optuna \
|
||||
--dataset enwik9 --data-root /path/to/datasets \
|
||||
--model cnn --model-save-path /path/to/optuna-model
|
||||
python main.py --debug --results /path/to/results train --method full \
|
||||
--dataset enwik9 --data-root /path/to/datasets \
|
||||
--model-load-path /path/to/optuna-model --model-save-path /path/to/full-model
|
||||
|
||||
# Compressing
|
||||
python benchmark.py --debug compress \
|
||||
--model-load-path /path/to/full-model \
|
||||
--input-file inputfile --output-file outputfile
|
||||
```
|
||||
|
||||
## Running locally
|
||||
|
|
|
|||
Reference in a new issue