17 lines
433 B
Markdown
17 lines
433 B
Markdown
# 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 |