GPT-based Generation for Classical Chinese Poetry

Yi Liao, Yasheng Wang, Qun Liu, Xin Jiang
6/29/2019
46 citations
cs.CLcs.AI

Official code: huawei-noah/Pretrained-Language-Model (3,167 stars, Python, last commit 2024-01-22).

Abstract

We present a simple yet effective method for generating high quality classical Chinese poetry with Generative Pre-trained Language Model (GPT). The method adopts a simple GPT model, without using any human crafted rules or features, or designing any additional neural components.

Show full abstract

While the proposed model learns to generate various forms of classical Chinese poems, including Jueju, Lüshi, various Cipai and Couples, the generated poems are of very high quality. We also propose and implement a method to fine-tune the model to generate acrostic poetry. To the best of our knowledge, this is the first to employ GPT in developing a poetry generation system. We have released an online mini demonstration program on Wechat to show the generation capability of the proposed method for classical Chinese poetry.

View on arXivView PDF

Code Implementations(1)

Pretrained language model and its related optimization techniques developed by Huawei Noah's Ark Lab.

3,167638Python, ShellDec 2, 20192 years ago
knowledge-distillationlarge-scale-distributedmodel-compressionpretrained-modelsquantization

Similar Papers

Cite this paper

@article{liao2019gptbased,
  title  = {GPT-based Generation for Classical Chinese Poetry},
  author = {Yi Liao and Yasheng Wang and Qun Liu and Xin Jiang},
  year   = {2019},
  eprint = {1907.00151},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.00151}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.00151.svg)](https://codeofpaper.com/paper/1907.00151)

Discussion