Table 1 Structured Prompt Instruction Template
From: Large language models learning to write rhyming Tang poetry A Xunzi Yayun R1 case study
Prompt Instruction Template |
|---|
请严格按照以下要求创作一首{poem_type}: (Please strictly follow the requirements below to create a {poem_type}:) |
1. 诗歌主题: {theme} (Poem theme: {theme}) |
2. 押韵要求: 押《平水韵》「{rhyme}」韵 ({tone}) (Rhyming requirement: Rhyme with “Pingshui Yun” category “{rhyme}” ({tone})) |
3. 格式规范: (Format specifications:) |
- 每句单独一行, 不加任何标点 (Each line on a new line, without any punctuation.) |
- 绝句必须4行, 律诗必须8行 (Jueju must have 4 lines; Lüshi must have 8 lines.) |
- 示例格式: (Example format:) |
白日依山尽 |
黄河入海流 |
欲穷千里目 |
更上一层楼 |
4. 律诗要求: 中间两联必须对仗工整 (Lüshi requirement: The middle two couplets must be perfectly antithetical.) |
5. 输出限制: (Output restrictions:) |
- 仅输出诗句内容 (Output only the verses.) |
- 不要标题、注释、解释等任何额外内容 (No title, annotations, explanations, or any other extra content.) |
- 禁止使用任何标点符号 (Prohibit the use of any punctuation marks.) |