GPoeT-2: A GPT-2 Based Poem Generator

Kai-Ling Lo, Rami Ariss, Philipp Kurz
5/18/2022
cs.CLcs.AI

Official code: coderalo/11785-automatic-poetry-generation (8 stars, Jupyter Notebook, last commit 2022-05-08).

Abstract

This project aims to produce the next volume of machine-generated poetry, a complex art form that can be structured and unstructured, and carries depth in the meaning between the lines. GPoeT-2 is based on fine-tuning a state of the art natural language model (i.e.

Show full abstract

GPT-2) to generate limericks, typically humorous structured poems consisting of five lines with a AABBA rhyming scheme. With a two-stage generation system utilizing both forward and reverse language modeling, GPoeT-2 is capable of freely generating limericks in diverse topics while following the rhyming structure without any seed phrase or a posteriori constraints.Based on the automated generation process, we explore a wide variety of evaluation metrics to quantify "good poetry," including syntactical correctness, lexical diversity, and subject continuity. Finally, we present a collection of 94 categorized limericks that rank highly on the explored "good poetry" metrics to provoke human creativity.

View on arXivView PDF

Code Implementations(1)

81Jupyter Notebook, PythonMar 17, 20224 years ago

Similar Papers

Cite this paper

@article{lo2022gpoet,
  title  = {GPoeT-2: A GPT-2 Based Poem Generator},
  author = {Kai-Ling Lo and Rami Ariss and Philipp Kurz},
  year   = {2022},
  eprint = {2205.08847},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.08847}
}

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/2205.08847.svg)](https://codeofpaper.com/paper/2205.08847)

Discussion