Skip to content

libing125/CTEG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTEG

Commonsense enhanced Topic-to-Essay Generation: code for ACL 2019 paper "Enhancing Topic-to-Essay Generation with External Commonsense Knowledge".

Corresponding codes of MTA baselines can be found at MTA-LSTM.

Model

Overview

Model-detail

Requirements

  • Python 3
  • TensorFlow >= 1.7

Data

Data can be downloaded from Baidu Cloud

Run

  1. Unzip the data and place it according to the path in config.py
  2. Run python3 cteg.py

Feel free to contact me or raise an issue if you meet any problems.

Citation

If you use this code or the corresponding baseline code, please kindly cite our paper:

@inproceedings{yang2019enhancing,
  title={Enhancing Topic-to-Essay Generation with External Commonsense Knowledge},
  author={Yang, Pengcheng and Li, Lei and Luo, Fuli and Liu, Tianyu and Sun, Xu},
  booktitle={Proceedings of the 57th Conference of the Association for Computational Linguistics},
  pages={2002--2012},
  year={2019}
}

About

Code for ACL 2019 paper "Enhancing Topic-to-Essay Generation with External Commonsense Knowledge "

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages