Poetry Generation for Indonesian Pantun: Comparison Between SeqGAN and GPT-2

  • Siallagan E
  • Alfina I
N/ACitations
Citations of this article
33Readers
Mendeley users who have this article in their library.

Abstract

Pantun is a traditional Malay poem consisting of four lines: two lines of deliverance and two lines of messages. Each ending-line word in pantun forms an ABAB rhyme pattern. In this work, we compare the performance of Sequence Generative Adversarial Nets (SeqGAN) and Generative Pre-trained Transformer 2 (GPT-2) in automatically generating Indonesian pantun. We also created the first publicly available Indonesian pantun dataset that consists of 7.8K pantun. We evaluated how well each model produced pantun by its lexical richness and its formedness. We introduced the evaluation of pantun with two aspects: structure and rhyme. GPT-2 performs better with a margin of 29.40% than SeqGAN in forming the structure, 35.20% better in making rhyming patterns, and 0.04 difference in giving richer vocabulary to its generated pantun.

Cite

CITATION STYLE

APA

Siallagan, E. A., & Alfina, I. (2023). Poetry Generation for Indonesian Pantun: Comparison Between SeqGAN and GPT-2. Jurnal Ilmu Komputer Dan Informasi, 16(1), 59–67. https://doi.org/10.21609/jiki.v16i1.1113

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free