Skip to content

Commit

Permalink
Full commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Petar Veličković committed Feb 1, 2018
1 parent 5ee75f6 commit 465ca7a
Show file tree
Hide file tree
Showing 21 changed files with 1,829 additions and 1 deletion.
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,32 @@
# GAT
Graph Attention Networks
Graph Attention Networks (Veličković *et al.*, ICLR 2018)

## Overview
Here we provide the implementation of a Graph Attention Network (GAT) layer in TensorFlow, along with a minimal execution example (on the Cora dataset). The repository is organised as follows:
- `data/` contains the necessary dataset files for Cora;
- `models/` contains the implementation of the GAT network (`gat.py`);
- `pre_trained/` contains a pre-trained Cora model (achieving 84.4% accuracy on the test set);
- `utils/` contains:
* an implementation of an attention head, along with an experimental sparse version (`layers.py`);
* preprocessing subroutines (`process.py`);
* preprocessing utilities for the PPI benchmark (`process_ppi.py`).

Finally, `execute_cora.py` puts all of the above together and may be used to execute a full training run on Cora.

## Reference
If you make advantage of the GAT model in your research, please cite the following in your manuscript:

```
@article{
velickovic2018graph,
title={Graph Attention Networks},
author={Petar Veli{\v{c}}kovi{\'{c}}, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Li{\`{o}}, Yoshua Bengio},
journal={International Conference on Learning Representations},
year={2018},
url={https://openreview.net/forum?id=rJXMpikCZ},
note={accepted as poster},
}
```

## License
MIT
Binary file added data/ind.cora.allx
Binary file not shown.
Binary file added data/ind.cora.ally
Binary file not shown.
Binary file added data/ind.cora.graph
Binary file not shown.
Loading

0 comments on commit 465ca7a

Please sign in to comment.