arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.00151cs.CLcs.AI
收藏

基于GPT的中国古诗生成

GPT-based Generation for Classical Chinese Poetry

Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Yi Liao, Yasheng Wang, Qun Liu, Xin Jiang

摘要:

本文提出了一种简单有效的基于生成预训练语言模型(GPT)的汉语古诗生成方法。该方法采用简单的GPT模型,不使用任何人工规则或特征,也不设计任何额外的神经组件。虽然所提出的模型学习生成各种形式的中国古典诗歌,包括绝句、律诗、各种词牌和情侣,但生成的诗歌质量非常高。我们还提出并实现了一种方法来微调模型生成离合诗。据我们所知,这是第一个使用GPT开发诗歌生成系统的。我们在微信上发布了一个在线小型演示程序,以展示所提出的方法对中国古典诗歌的生成能力。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑