seanhacks commited on
Commit
e5707c7
·
verified ·
1 Parent(s): ad2a442

model: graph_conv-relation_attention_mlp_h128_l3_edge_prediction | (graph_conv-relation_attention_mlp_h128_l3) | WandB: 63xqckzk

Browse files
Files changed (1) hide show
  1. config.json +104 -0
config.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": null,
3
+ "seed": 42,
4
+ "deterministic": true,
5
+ "output_dir": "relation_prediction_relationattnmlp_128e_transfer_v1",
6
+ "model": {
7
+ "encoder": "graph_conv",
8
+ "hidden_channels": 128,
9
+ "num_layers": 3,
10
+ "dropout": 0.2,
11
+ "head": "relation_attention_mlp",
12
+ "init_head_as_identity": false,
13
+ "gat_heads": 4,
14
+ "gat_concat": true,
15
+ "graph_conv_aggregator": "mean",
16
+ "sage_aggregator": "mean",
17
+ "mlp_hidden_dim": 128,
18
+ "mlp_num_layers": 2,
19
+ "mlp_dropout": 0.1,
20
+ "nc_dropout": 0.1,
21
+ "rotate_margin": 0.1,
22
+ "transe_margin": 0.1,
23
+ "relation_emb_dim": 64,
24
+ "relation_attention_heads": 4,
25
+ "use_edge_encoder": true,
26
+ "edge_encoder_dim": 32,
27
+ "edge_encoder_dropout": 0.1,
28
+ "edge_encoder_init_bias": 0.0,
29
+ "use_pretrained_model": true,
30
+ "pretrained_model_source": "huggingface",
31
+ "pretrained_model_path": "seanhacks/edge_prediction_dotprod_128e",
32
+ "pretrained_model_revision": null,
33
+ "pretrained_model_load_head": false,
34
+ "pretrained_model_freeze_encoder_weights": false,
35
+ "pretrained_model_freeze_head_weights": false
36
+ },
37
+ "data": {
38
+ "store_dir": "[REDACTED]",
39
+ "sbml_dfs_path": "[REDACTED]",
40
+ "napistu_graph_path": "[REDACTED]",
41
+ "copy_to_store": false,
42
+ "overwrite": false,
43
+ "napistu_data_name": "relation_prediction",
44
+ "other_artifacts": [
45
+ "comprehensive_pathway_memberships",
46
+ "edge_strata_by_node_species_type"
47
+ ]
48
+ },
49
+ "task": {
50
+ "task": "edge_prediction",
51
+ "metrics": [
52
+ "auc",
53
+ "ap"
54
+ ],
55
+ "edge_prediction_neg_sampling_ratio": 1.0,
56
+ "edge_prediction_neg_sampling_stratify_by": "edge_sbo_terms",
57
+ "edge_prediction_neg_sampling_strategy": "degree_weighted",
58
+ "weight_loss_by_relation_frequency": true,
59
+ "loss_weight_alpha": 0.5
60
+ },
61
+ "training": {
62
+ "lr": 0.0005,
63
+ "weight_decay": 0.0001,
64
+ "optimizer": "adamw",
65
+ "scheduler": "onecycle",
66
+ "gradient_clip_val": null,
67
+ "epochs": 500,
68
+ "batches_per_epoch": 20,
69
+ "accelerator": "auto",
70
+ "devices": 1,
71
+ "precision": 32,
72
+ "early_stopping": true,
73
+ "early_stopping_patience": 20,
74
+ "early_stopping_metric": "val_relation_weighted_auc",
75
+ "save_checkpoints": true,
76
+ "checkpoint_subdir": "checkpoints",
77
+ "checkpoint_metric": "val_relation_weighted_auc",
78
+ "score_distribution_monitoring": true,
79
+ "score_distribution_monitoring_log_every_n_epochs": 10,
80
+ "embedding_norm_monitoring": true,
81
+ "embedding_norm_monitoring_log_every_n_epochs": 10,
82
+ "weight_monitoring": true
83
+ },
84
+ "wandb": {
85
+ "project": "napistu-experiments",
86
+ "entity": "napistu",
87
+ "group": "baseline",
88
+ "tags": [
89
+ "relation_prediction",
90
+ "graph_conv",
91
+ "edge_prediction",
92
+ "hidden_128",
93
+ "layers_3",
94
+ "lr_0.0005",
95
+ "epochs_500"
96
+ ],
97
+ "log_model": false,
98
+ "mode": "online",
99
+ "wandb_subdir": "logs"
100
+ },
101
+ "fast_dev_run": false,
102
+ "limit_train_batches": 1.0,
103
+ "limit_val_batches": 1.0
104
+ }