Let the Poem Hit the Rhythm: Using a Byte-Based Transformer for Beat-Aligned Poetry Generation

Mohamad Elzohbi, Richard Zhao
6/14/2024
cs.CL

No official code found. Best implementation: melzohbi/poem-rhythm (3 stars, last commit 2024-07-24).

Abstract

The intersection between poetry and music provides an interesting case for computational creativity, yet remains relatively unexplored. This paper explores the integration of poetry and music through the lens of beat patterns, investigating whether a byte-based language model can generate words that fit specific beat patterns within the context of poetry. Drawing on earlier studies, we developed a method to train a byte-based transformer model, ByT5, to align poems with beat patterns. The results demonstrate a high level of beat alignment while maintaining semantic coherence. Future work will aim to improve the model's ability to create complete beat-aligned poems.

View on arXivView PDF

Code Implementations(1)

Let the Poem Hit the Rhythm: Using a Byte-Based Transformer for Beat-Aligned Poetry Generation

30PythonMay 30, 20242 years ago

Similar Papers

Cite this paper

@article{elzohbi2024poem,
  title  = {Let the Poem Hit the Rhythm: Using a Byte-Based Transformer for Beat-Aligned Poetry Generation},
  author = {Mohamad Elzohbi and Richard Zhao},
  year   = {2024},
  eprint = {2406.10174},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.10174v1}
}

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

Discussion