Skip to content

BUPT-GAMMA/PHGT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHGT

Code for IJCAI'24: Heterogeneous Graph Transformer with Poly-Tokenization.

This code is based on HGB and HINormer

Requirement

  • Python version == 3.9
  • DGL version == 1.0.3
  • cudatoolkit version == 11.3
  • PyTorch version == 1.10

Dataset

We use the same dataset as HINormer

Reproducibility

  • We use the clusters generated by SHGP to create global tokens. You can download the clusters we have generated and place them in the PHGT directory.
  • Even when all random seeds are fixed, the experimental results will not be exactly the same each run. We suspect that this issue is caused by early versions DGL. However, the residual in each experiment should not exceed the standard deviation reported in the paper.
  • Sometimes, the experiments may be numerically unstable (e.g., the normal F1 score is 0.9, but occasionally a result of 0.3 may appear). We ignore such results and rerun the experiment.

Run Experiments

python run.py --config DBLP

TODO

  • We will update to a more readable version of the code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages