Skip to content

Code for ACL 2020 paper "Rigid Formats Controlled Text Generation":https://arxiv.org/abs/2004.08022

Notifications You must be signed in to change notification settings

tencent-ailab/SongNet

 
 

Repository files navigation

SongNet

@inproceedings{li-etal-2020-rigid,
    title = "Rigid Formats Controlled Text Generation",
    author = "Li, Piji and Zhang, Haisong and Liu, Xiaojiang and Shi, Shuming",
    booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
    month = jul,
    year = "2020",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/2020.acl-main.68",
    doi = "10.18653/v1/2020.acl-main.68",
    pages = "742--751"
}

Run

  • python prepare_data.py
  • ./train.sh

Evaluation

  • Modify test.py: m_path = the best dev model
  • ./test.sh
  • python metrics.py

Polish

  • ./polish.sh

Download

Reference

About

Code for ACL 2020 paper "Rigid Formats Controlled Text Generation":https://arxiv.org/abs/2004.08022

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.3%
  • Shell 1.7%