Spaces:
Build error
Build error
File size: 831 Bytes
9206300 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# task
binary_data_dir: ''
work_dir: '' # experiment directory.
infer: false # inference
amp: false
seed: 1234
debug: false
save_codes: []
# - configs
# - modules
# - tasks
# - utils
# - usr
#############
# dataset
#############
ds_workers: 1
test_num: 100
endless_ds: false
sort_by_len: true
#########
# train and eval
#########
print_nan_grads: false
load_ckpt: ''
save_best: true
num_ckpt_keep: 3
clip_grad_norm: 0
accumulate_grad_batches: 1
tb_log_interval: 100
num_sanity_val_steps: 5 # steps of validation at the beginning
check_val_every_n_epoch: 10
val_check_interval: 2000
valid_monitor_key: 'val_loss'
valid_monitor_mode: 'min'
max_epochs: 1000
max_updates: 1000000
max_tokens: 31250
max_sentences: 100000
max_valid_tokens: -1
max_valid_sentences: -1
test_input_dir: ''
resume_from_checkpoint: 0
rename_tmux: true |