ho22joshua commited on
Commit
d65fba7
·
1 Parent(s): cf80938

added attention configs

Browse files
root_gnn_dgl/configs/attention/ttH_CP_even_vs_odd.yaml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Training_Name: ttH_CP_even_vs_odd
2
+ Training_Directory: trainings/attention/ttH_CP_even_vs_odd
3
+ Model:
4
+ module: models.GCN
5
+ class: Attention_Edge_Network
6
+ args:
7
+ hid_size: 64
8
+ in_size: 7
9
+ out_size: 1
10
+ n_layers: 4
11
+ n_proc_steps: 4
12
+ dropout: 0
13
+ num_heads: 2
14
+ Training:
15
+ epochs: 500
16
+ batch_size: 1024
17
+ learning_rate: 0.0001
18
+ gamma: 0.99
19
+ Datasets:
20
+ ttH_CP_even: &dataset_defn
21
+ module: root_gnn_base.dataset
22
+ class: LazyDataset
23
+ shuffle_chunks: 3
24
+ batch_size: 1024
25
+ padding_mode: NODE
26
+ args: &dataset_args
27
+ name: ttH_CP_even
28
+ label: 0
29
+ # weight_var: weight
30
+ chunks: 3
31
+ buffer_size: 2
32
+ file_names: ttH_NLO.root
33
+ tree_name: output
34
+ fold_var: Number
35
+ raw_dir: /global/cfs/projectdirs/trn007/lbl_atlas/data/stats_100K/
36
+ save_dir: /global/cfs/projectdirs/trn007/lbl_atlas/data/processed_graphs/attention/ttH_CP_even_vs_odd/
37
+ node_branch_names:
38
+ - [jet_pt, ele_pt, mu_pt, ph_pt, MET_met]
39
+ - [jet_eta, ele_eta, mu_eta, ph_eta, 0]
40
+ - [jet_phi, ele_phi, mu_phi, ph_phi, MET_phi]
41
+ - CALC_E
42
+ - [jet_btag, 0, 0, 0, 0]
43
+ - [0, ele_charge, mu_charge, 0, 0]
44
+ - NODE_TYPE
45
+ node_branch_types: [vector, vector, vector, vector, single]
46
+ node_feature_scales: [1e-1, 1, 1, 1e-1, 1, 1, 1]
47
+ folding:
48
+ n_folds: 4
49
+ test: [0]
50
+ # validation: 1
51
+ train: [1, 2, 3]
52
+ ttH_CP_odd:
53
+ <<: *dataset_defn
54
+ args:
55
+ <<: *dataset_args
56
+ name: ttH_CP_odd
57
+ label: 1
58
+ file_names: ttH_CPodd.root