CharPoet: A Chinese Classical Poetry Generation System Based on Token-free LLM
Chengyue Yu, Lei Zang, Jiaotuan Wang, Chenyi Zhuang, Jinjie Gu

TL;DR
CharPoet is a token-free Chinese classical poetry generation system that achieves high format accuracy and effective content control by generating characters individually, outperforming existing models in format precision.
Contribution
It introduces a token-free, character-by-character generation architecture for Chinese poetry, enhancing format control while leveraging pretrained LLM capabilities.
Findings
Format accuracy exceeds 0.96, outperforming Jiuge-GPT-2 and GPT-4.
Generates content that surpasses traditional systems and is comparable to other LLMs.
Open source system available for public use.
Abstract
Automatic Chinese classical poetry generation has attracted much research interest, but achieving effective control over format and content simultaneously remains challenging. Traditional systems usually accept keywords as user inputs, resulting in limited control over content. Large language models (LLMs) improve content control by allowing unrestricted user instructions, but the token-by-token generation process frequently makes format errors. Motivated by this, we propose CharPoet, a Chinese classical poetry generation system based on token-free LLM, which provides effective control over both format and content. Our token-free architecture generates in a character-by-character manner, enabling precise control over the number of characters. Pruned from existing token-based LLMs, CharPoet inherits their pretrained capabilities and can generate poetry following instructions like "Write…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsMultimodal Machine Learning Applications · Generative Adversarial Networks and Image Synthesis · Topic Modeling
MethodsMulti-Head Attention · Attention Is All You Need · Linear Layer · Softmax · Adam · Layer Normalization · Residual Connection · Absolute Position Encodings · Dropout · Dense Connections
