forked from Roestlab/massformer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
train_both_mh_MF_hr.yml
60 lines (60 loc) · 1.25 KB
/
train_both_mh_MF_hr.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
run_name:
data:
num_entries: -1
primary_dset: ["nist","mb_na"]
secondary_dset: []
ce_key: "nce"
inst_type: ["FT"]
frag_mode: ["HCD"]
pos_prec_type: ['[M+H]+']
fp_types: ["morgan","rdkit","maccs"]
preproc_ce: "normalize"
spectrum_normalization: "l1"
gf_algos_v: "algos2"
mz_bin_res: 0.1
model:
embed_types: ["gf_v2"]
ff_layer_type: "neims"
ff_h_dim: 1000
ff_num_layers: 4
ff_skip: True
dropout: 0.4
output_normalization: "l1"
bidirectional_prediction: True
gf_model_name: "graphormer_base"
gf_pretrain_name: "pcqm4mv2_graphormer_base"
fix_num_pt_layers: 0
reinit_num_pt_layers: -1
reinit_layernorm: True
model_seed: 6666
run:
loss: "cos"
sim: "cos"
lr: 0.001
batch_size: 100
clip_grad_norm: 5.0
scheduler: "polynomial"
scheduler_peak_lr: 0.0002
weight_decay: 0.001
pt_weight_decay: 0.0
dp: False
dp_num_gpus: 0
flag: True
num_epochs: 20
num_workers: 8
cuda_deterministic: False
do_test: True
do_casmi: False
do_pcasmi: False
do_casmi22: False
save_state: True
save_media: False
log_auxiliary: True
train_seed: 5585
split_seed: 420
split_key: "inchikey_s"
log_tqdm: False
grad_acc_interval: 4 # for 12GB
test_sets: ["train","val"]
save_test_sims: True
test_frac: 0.