readme
This commit is contained in:
parent
b737d8bb8a
commit
9b38346383
17
README.md
17
README.md
@ -0,0 +1,17 @@
|
|||||||
|
# Donut script for train and eval
|
||||||
|
|
||||||
|
## Instalation/setup:
|
||||||
|
-> `pip install -r requirements.txt`
|
||||||
|
-> `export HUG_TOKEN=YourToken` - token needed for pushing model to huggingface after training
|
||||||
|
|
||||||
|
## Usage:
|
||||||
|
|
||||||
|
### Train
|
||||||
|
-> `python train --config config-train.yaml`
|
||||||
|
|
||||||
|
|
||||||
|
### Evaluation
|
||||||
|
-> `python eval --config config-eval.yaml`
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
Need to suply config file like `config-eval.yaml` for evaluation or `config-train.yaml` for traning
|
Loading…
Reference in New Issue
Block a user