Spaces:
Running
Running
Delete config/train_invoices.yaml
Browse files- config/train_invoices.yaml +0 -22
config/train_invoices.yaml
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
resume_from_checkpoint_path: null # only used for resume_from_checkpoint option in PL
|
2 |
-
result_path: "./result"
|
3 |
-
pretrained_model_name_or_path: "naver-clova-ix/donut-base" # loading a pre-trained model (from moldehub or path)
|
4 |
-
dataset_name_or_paths: ["naver-clova-ix/cord-v2"] # loading datasets (from moldehub or path)
|
5 |
-
sort_json_key: False # cord dataset is preprocessed, and publicly available at https://huggingface.co/datasets/naver-clova-ix/cord-v2
|
6 |
-
train_batch_sizes: [8]
|
7 |
-
val_batch_sizes: [1]
|
8 |
-
input_size: [1280, 960] # when the input resolution differs from the pre-training setting, some weights will be newly initialized (but the model training would be okay)
|
9 |
-
max_length: 768
|
10 |
-
align_long_axis: False
|
11 |
-
num_nodes: 1
|
12 |
-
seed: 2022
|
13 |
-
lr: 3e-5
|
14 |
-
warmup_steps: 300 # 800/8*30/10, 10%
|
15 |
-
num_training_samples_per_epoch: 800
|
16 |
-
max_epochs: 30
|
17 |
-
max_steps: -1
|
18 |
-
num_workers: 8
|
19 |
-
val_check_interval: 1.0
|
20 |
-
check_val_every_n_epoch: 3
|
21 |
-
gradient_clip_val: 1.0
|
22 |
-
verbose: True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|