Skip to content

ylyzty/DAGformer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transformer over Directed Acyclic Graph (NeurIPS 2023)

The repository implements the Transformer over Directed Acyclic Graph (DAG transformer) in Pytorch Geometric.

Installation

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

Overview

  • ./NA Experiment code over the NA dataset.

  • ./ogbg-code2 Experiment code over the ogbg-code2 data from OGB.

  • ./self-citation Experiment code over the self-citation dataset.

  • ./Node_classification_citation Experiment code over the Cora, Citeseer, Pubmed datasets.

Reference

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}
}

Poster

DAG_poster

About

The repository implements the Transformer over Directed Acyclic Graph (DAG transformer) in Pytorch Geometric.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 90.3%
  • Cuda 2.3%
  • C++ 2.0%
  • Jupyter Notebook 1.9%
  • C 1.5%
  • TeX 1.0%
  • Other 1.0%