The repository implements the Transformer over Directed Acyclic Graph (DAG transformer) in Pytorch Geometric.
Tested with Python 3.7, PyTorch 1.13.1, and PyTorch Geometric 2.3.1.
The dependencies are managed by [conda]:
pip install -r requirements.txt
-
./NAExperiment code over theNAdataset. -
./ogbg-code2Experiment code over theogbg-code2data from OGB. -
./self-citationExperiment code over theself-citationdataset. -
./Node_classification_citationExperiment code over theCora, Citeseer, Pubmeddatasets.
If you find our codes useful, please consider citing our work
@inproceedings{
luo2023transformers,
title={Transformers over Directed Acyclic Graphs},
author={Yuankai Luo and Veronika Thost and Lei Shi},
booktitle={Thirty-seventh Conference on Neural Information Processing Systems},
year={2023},
url={https://openreview.net/forum?id=g49s1N5nmO}
}
