Skip to content

Commit

Permalink
fix style of documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiwen Yuan committed Nov 22, 2024
1 parent e72ff51 commit ad7cfb4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ This repository contains PyTorch implementation of ContextGNN.

## How to Run

If you want to run ContextGNN and you have a smaller GPU machine, run `contextgnn_sample_softmax.py`.

```sh
python examples/contextgnn_sample_softmax.py --rhs_sample_size 1000
```

To reproduce results on RelBench, run `benchmark/relbench_link_prediction_benchmark.py`.

```sh
Expand All @@ -28,6 +22,11 @@ To run ContextGNN on any RelBench dataset, without tuning, run `examples/relbenc
python examples/relbench_example.py --dataset rel-trial --task site-sponsor-run --model contextgnn
```

To run ContextGNN with sampled right hand side nodes, run `contextgnn_sample_softmax.py`.

```sh
python examples/contextgnn_sample_softmax.py --rhs_sample_size 1000
```

## Install Instruction

Expand Down

0 comments on commit ad7cfb4

Please sign in to comment.