# GraphWriter **Repository Path**: luolin19850304/GraphWriter ## Basic Information - **Project Name**: GraphWriter - **Description**: Code for "Text Generation from Knowledge Graphs with Graph Transformers" - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-22 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Text Generation from Knowledge Graphs with Graph Transformers This repository contains the source code of our paper, [Text Generation from Knowledge Graphs with Graph Transformers](https://arxiv.org/abs/1904.02342), which is accepted for publication at [NAACL 2019](http://naacl2019.org/). # Instructions Training: ``` python3.6 train.py -save ``` Use ``--help`` for a list of all training options. To generate, use ``` python3.6 generator.py -save ``` with the appropriate model flags used to train the model To evaluate, run ``` python3.6 eval.py ``` # AGENDA Dataset The AGENDA dataset is available in a user-friendly json format in /data/unprocessed.tar.gz Preprocessed data is also available in /data. ## Citation If this work is useful in your research, please cite our paper. ``` @inproceedings{koncel2019text, title={{T}ext {G}eneration from {K}nowledge {G}raphs with {G}raph {T}ransformers}, author={Rik Koncel-Kedziorski, Dhanush Bekal, Yi Luan, Mirella Lapata, and Hannaneh Hajishirzi}, booktitle={NAACL}, year={2019} } ```