File size: 2,990 Bytes
ed4e7ee
 
 
 
3a3c939
ed4e7ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3a3c939
 
 
ed4e7ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3a3c939
ed4e7ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
  "name": null,
  "seed": 42,
  "deterministic": true,
  "output_dir": "relation_prediction_distmult_128e_transfer_v2",
  "model": {
    "encoder": "graph_conv",
    "hidden_channels": 128,
    "num_layers": 3,
    "dropout": 0.2,
    "head": "distmult",
    "init_head_as_identity": false,
    "gat_heads": 4,
    "gat_concat": true,
    "graph_conv_aggregator": "mean",
    "sage_aggregator": "mean",
    "mlp_hidden_dim": 128,
    "mlp_num_layers": 2,
    "mlp_dropout": 0.1,
    "nc_dropout": 0.1,
    "rotate_margin": 0.1,
    "transe_margin": 0.1,
    "relation_emb_dim": 64,
    "relation_attention_heads": 4,
    "use_edge_encoder": true,
    "edge_encoder_dim": 32,
    "edge_encoder_dropout": 0.1,
    "edge_encoder_init_bias": 0.0,
    "use_pretrained_model": true,
    "pretrained_model_source": "huggingface",
    "pretrained_model_path": "seanhacks/relation_prediction_distmult_128e",
    "pretrained_model_revision": "20251228",
    "pretrained_model_load_head": true,
    "pretrained_model_freeze_encoder_weights": false,
    "pretrained_model_freeze_head_weights": false
  },
  "data": {
    "store_dir": "[REDACTED]",
    "sbml_dfs_path": null,
    "napistu_graph_path": null,
    "copy_to_store": false,
    "hf_repo_id": "seanhacks/relation_prediction",
    "hf_revision": null,
    "napistu_data_name": "relation_prediction",
    "other_artifacts": [
      "comprehensive_pathway_memberships",
      "edge_strata_by_node_species_type"
    ]
  },
  "task": {
    "task": "edge_prediction",
    "metrics": [
      "auc",
      "ap"
    ],
    "edge_prediction_neg_sampling_ratio": 1.0,
    "edge_prediction_neg_sampling_stratify_by": "edge_sbo_terms",
    "edge_prediction_neg_sampling_strategy": "degree_weighted",
    "weight_loss_by_relation_frequency": true,
    "loss_weight_alpha": 0.5
  },
  "training": {
    "lr": 0.0005,
    "weight_decay": 0.0001,
    "optimizer": "adamw",
    "scheduler": "plateau",
    "gradient_clip_val": null,
    "epochs": 500,
    "batches_per_epoch": 20,
    "accelerator": "auto",
    "devices": 1,
    "precision": 32,
    "early_stopping": true,
    "early_stopping_patience": 50,
    "early_stopping_metric": "val_relation_weighted_auc",
    "save_checkpoints": true,
    "checkpoint_subdir": "checkpoints",
    "checkpoint_metric": "val_relation_weighted_auc",
    "score_distribution_monitoring": true,
    "score_distribution_monitoring_log_every_n_epochs": 10,
    "embedding_norm_monitoring": true,
    "embedding_norm_monitoring_log_every_n_epochs": 10,
    "weight_monitoring": true
  },
  "wandb": {
    "project": "napistu-experiments",
    "entity": "napistu",
    "group": "baseline",
    "tags": [
      "relation_prediction",
      "graph_conv",
      "edge_prediction",
      "hidden_128",
      "layers_3",
      "lr_0.0005",
      "epochs_500"
    ],
    "log_model": false,
    "mode": "online",
    "wandb_subdir": "logs"
  },
  "fast_dev_run": false,
  "limit_train_batches": 1.0,
  "limit_val_batches": 1.0
}