Skip to content

BUPT-GAMMA/CoBFormer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source code of our ICML 2024 paper "Less is More: on the Over-Globalizing Problem in Graph Transformers"

Environment

To run our code, you should first configure your Python environment with Anaconda as follows:

conda create -n cobformer python=3.10
conda activate cobformer
conda install --yes --file requirements.txt

Usage

We have provided a run.sh file, and you can execute the commands within it to verify our results.

To avoid the high computational cost of calculating the cluster partition for the ogbn-products dataset in each run, you can pre-calculate the cluster partition by running the cal_partition.py script located in the Data folder.

About

Implementation of ICML'24 Paper "Less is More: on the Over-Globalizing Problem in Graph Transformers"

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors