Skip to content

Starlien95/HGPrompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

We provide the code (in pytorch) and datasets for our paper "HGPROMPT: Bridging Homogeneous and Heterogeneous Graphs for Few-shot Prompt Learning", which is accepted by AAAI2024.

Package Dependencies

  • cuda 11.3
  • dgl0.9.0-cu113
  • dgllife

Running experiments

The default dataset is ACM. You need to change the corresponding parameters in pre_train.py and run.py to train and evaluate on other datasets.

Pretrain:

  • python pre_train.py

Prompting and test:

  • python run.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages