hiv_config.yaml 907 字节
Newer Older
1 2
task_name: hiv
seed: 15391
W
Webbley 已提交
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
dataset_name: ogbg-molhiv
eval_metrics: null 
task_type: null
num_class: null
pool_type: average
train_eps: True
norm_type: layer_norm

model_type: GNNModel
embed_dim: 128
num_layers: 5
hidden_size: 256
save_dir: ./checkpoints


# finetune model config
init_checkpoint: null
init_pretraining_params: null

# data config
data_dir: ./dataset/
symmetry: True
batch_size: 32
buf_size: 1000
metrics: True
shuffle: True
num_workers: 12
output_dir: ./outputs/

# trainging config
33
epoch: 50
W
Webbley 已提交
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
learning_rate: 0.0001
lr_scheduler: linear_warmup_decay
weight_decay: 0.01
warmup_proportion: 0.1
save_steps: 10000
validation_steps: 1000
use_dynamic_loss_scaling: True
init_loss_scaling: 102400
metric: simple_accuracy
incr_every_n_steps: 100
decr_every_n_nan_or_inf: 2
incr_ratio: 2.0
decr_ratio: 0.8
log_dir: ./logs
eval_step: 400
train_log_step: 20

# log config
skip_steps: 10
verbose: False