Skip to content

destwang/InterHT

Repository files navigation

InterHT

Running the experiment

  1. NodePiece have pre-computed a vocabulary of 20k anchor nodes (~910 MB). Download it using the download.sh script:
sh download.sh
  1. Install the requirements from the requirements.txt, python 3.7 is recommended

  2. Prepare the file storing the DigPiece as follows:

python create_for_digpiece_anchors.py
python create_for_digpiece_neighbors.py
  1. InterHT+: Run the code with the best hyperparameters using the main script
sh run_ogb_plus.sh

InterHT+ (256dim):

sh run_ogb_plus_256dim.sh

InterHT:

sh run_ogb.sh

ogbl-wikikg2

Please update ogb package to version 1.3.4. The details of the optional hyperparameters can be found in run_ogb_plus.sh and run_ogb.sh.

Note

This code is the implementation of InterHT. This implementation of InterHT for Open Graph Benchmak datasets (ogbl-wikikg2) is based on OGB, NodePiece, TripleRE, StarGraph. Thanks for their contributions.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published