/GFformer

Primary LanguagePython

GFformer

The source code of GFformer: A Graph Transformer for Extracting All Frequency Information From Large-scale Graphs

Training

To reproduce the results of GFformer on the Amazon2M dataset, please run following commands.

python test_Amazon2M.py 

If you need to apply GFformer to other datasets, simply modify the dataset section and use the hyperparameters suggested in the paper for training.

Dataset

One can download the Amazon2M dataset from the google drive link below: https://drive.google.com/drive/folders/1A5m7_wFT6rX7dxEHlKV_uqce5pPVRwnC?usp=sharing