model: graph_conv-dot_product_h128_l3_edge_prediction | (graph_conv-dot_product_h128_l3) | WandB: nvog9n27
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
tags: ['graph-neural-networks', 'biological-networks', '
|
| 3 |
library_name: napistu-torch
|
| 4 |
license: mit
|
| 5 |
metrics:
|
|
@@ -7,7 +7,7 @@ metrics:
|
|
| 7 |
- average_precision
|
| 8 |
---
|
| 9 |
|
| 10 |
-
#
|
| 11 |
|
| 12 |
This model was trained using [Napistu-Torch](https://www.shackett.org/napistu_torch/), a PyTorch framework for training graph neural networks on biological pathway networks.
|
| 13 |
|
|
@@ -39,7 +39,7 @@ optionally incorporating relation types for relation-aware prediction.
|
|
| 39 |
- Type: `dot_product`
|
| 40 |
- Relation-Aware: β
|
| 41 |
|
| 42 |
-
**Training Date**: 2025-12-
|
| 43 |
|
| 44 |
For detailed experiment and training settings see this repository's `config.json` file.
|
| 45 |
|
|
@@ -47,15 +47,16 @@ For detailed experiment and training settings see this repository's `config.json
|
|
| 47 |
|
| 48 |
| Metric | Value |
|
| 49 |
|--------|-------|
|
| 50 |
-
| Validation AUC | 0.
|
| 51 |
-
| Test AUC | 0.
|
| 52 |
-
| Validation AP | 0.
|
| 53 |
-
| Test AP | 0.
|
| 54 |
|
| 55 |
|
| 56 |
## Links
|
| 57 |
|
| 58 |
-
- π [W&B Run](https://wandb.ai/napistu/napistu-experiments/runs/
|
|
|
|
| 59 |
- π» [GitHub Repository](https://github.com/napistu/Napistu-Torch)
|
| 60 |
- π [Read the Docs](https://napistu-torch.readthedocs.io/en/latest)
|
| 61 |
- π [Napistu Wiki](https://github.com/napistu/napistu/wiki)
|
|
@@ -69,8 +70,8 @@ To reproduce the environment used for training, run the following commands:
|
|
| 69 |
```bash
|
| 70 |
pip install torch==2.8.0
|
| 71 |
pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/2.8.0+cpu.html
|
| 72 |
-
pip install 'napistu==0.8.
|
| 73 |
-
pip install 'napistu-torch[pyg,lightning]==0.2
|
| 74 |
```
|
| 75 |
|
| 76 |
### 2. Setup Data Store
|
|
@@ -91,10 +92,10 @@ napistu_data_store = gcs_model_to_store(
|
|
| 91 |
|
| 92 |
### 3. Load Pretrained Model from HuggingFace Hub
|
| 93 |
```python
|
| 94 |
-
from napistu_torch.ml.hugging_face import
|
| 95 |
|
| 96 |
# Load checkpoint
|
| 97 |
-
loader =
|
| 98 |
checkpoint = loader.load_checkpoint()
|
| 99 |
|
| 100 |
# Load config to reproduce experiment
|
|
|
|
| 1 |
---
|
| 2 |
+
tags: ['napistu', 'napistu-torch', 'graph-neural-networks', 'biological-networks', 'pytorch', 'graph_conv', 'dot_product', 'edge_prediction']
|
| 3 |
library_name: napistu-torch
|
| 4 |
license: mit
|
| 5 |
metrics:
|
|
|
|
| 7 |
- average_precision
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# graph_conv-dot_product_h128_l3_edge_prediction
|
| 11 |
|
| 12 |
This model was trained using [Napistu-Torch](https://www.shackett.org/napistu_torch/), a PyTorch framework for training graph neural networks on biological pathway networks.
|
| 13 |
|
|
|
|
| 39 |
- Type: `dot_product`
|
| 40 |
- Relation-Aware: β
|
| 41 |
|
| 42 |
+
**Training Date**: 2025-12-21
|
| 43 |
|
| 44 |
For detailed experiment and training settings see this repository's `config.json` file.
|
| 45 |
|
|
|
|
| 47 |
|
| 48 |
| Metric | Value |
|
| 49 |
|--------|-------|
|
| 50 |
+
| Validation AUC | 0.8176 |
|
| 51 |
+
| Test AUC | 0.8186 |
|
| 52 |
+
| Validation AP | 0.8190 |
|
| 53 |
+
| Test AP | 0.8194 |
|
| 54 |
|
| 55 |
|
| 56 |
## Links
|
| 57 |
|
| 58 |
+
- π [W&B Run](https://wandb.ai/napistu/napistu-experiments/runs/nvog9n27)
|
| 59 |
+
- π [Napistu](https://napistu.com)
|
| 60 |
- π» [GitHub Repository](https://github.com/napistu/Napistu-Torch)
|
| 61 |
- π [Read the Docs](https://napistu-torch.readthedocs.io/en/latest)
|
| 62 |
- π [Napistu Wiki](https://github.com/napistu/napistu/wiki)
|
|
|
|
| 70 |
```bash
|
| 71 |
pip install torch==2.8.0
|
| 72 |
pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/2.8.0+cpu.html
|
| 73 |
+
pip install 'napistu==0.8.5'
|
| 74 |
+
pip install 'napistu-torch[pyg,lightning]==0.3.2'
|
| 75 |
```
|
| 76 |
|
| 77 |
### 2. Setup Data Store
|
|
|
|
| 92 |
|
| 93 |
### 3. Load Pretrained Model from HuggingFace Hub
|
| 94 |
```python
|
| 95 |
+
from napistu_torch.ml.hugging_face import HFModelLoader
|
| 96 |
|
| 97 |
# Load checkpoint
|
| 98 |
+
loader = HFModelLoader("seanhacks/edge_prediction_dotprod_128e")
|
| 99 |
checkpoint = loader.load_checkpoint()
|
| 100 |
|
| 101 |
# Load config to reproduce experiment
|