2023-01-24 18:14:10 +01:00
|
|
|
dataset_path: "Zombely/wikisource-small"
|
|
|
|
pretrained_model_path: "Zombely/plwiki-proto-fine-tuned-v3.2"
|
|
|
|
start_model_path: "Zombely/plwiki-proto-fine-tuned-v3.2"
|
|
|
|
output_model_path: "Zombely/pl-donut"
|
|
|
|
wandb_test_name: "wikisource-small"
|
2023-01-04 11:10:24 +01:00
|
|
|
checkpoint_path: "./checkpoint"
|
|
|
|
max_length: 768
|
2023-01-05 14:42:46 +01:00
|
|
|
image_size: [2560, 1920]
|
2023-01-04 11:10:24 +01:00
|
|
|
train_config:
|
|
|
|
max_epochs: 1
|
2023-01-24 18:14:10 +01:00
|
|
|
val_check_interval: 0.3
|
2023-01-04 11:10:24 +01:00
|
|
|
check_val_every_n_epoch: 1
|
|
|
|
gradient_clip_val: 1.0
|
|
|
|
num_training_samples_per_epoch: 800
|
|
|
|
lr: 3.0e-5
|
|
|
|
train_batch_sizes: [8]
|
|
|
|
val_batch_sizes: [1]
|
|
|
|
seed: 2022
|
|
|
|
num_nodes: 1
|
|
|
|
warmup_steps: 300
|
|
|
|
result_path: "./result"
|
2023-01-24 18:14:10 +01:00
|
|
|
verbose: True
|