Answers are grounded in this paper and cite their sources.
Conditional text generation enhances rap lyric coherence in a model using thematic control tokens.
Rap lyric generation is a specialized task that demands both thematic consistency and stylistic creativity. Traditional language models often struggle to generate coherent rap lyrics that align with specific themes. This paper addresses this challenge by proposing a conditional text generation approach based on a fine-tuned BART transformer model, guided by explicit thematic control tokens. Through a method of data collection, thematic annotation, and model fine-tuning, the paper explores how controlled generation can enhance the quality of rap lyrics. The study constructs a multi-label rap dataset by scraping and annotating lyrics with twelve common themes such as love, street, and storytelling. The model leverages both content word extraction and theme-specific prompts to generate context-aware lyrics. Experimental evaluation, including both qualitative review and quantitative classification using F1 scores, shows strong performance: validation F1 (micro: 0.992, macro: 0.980) and test F1 (micro: 0.96, macro: 0.86). The paper finds that thematic prompting significantly improves coherence and controllability in generated lyrics, offering new insights into the application of transformers in stylized conditional text generation tasks.
No takes yet. Share an insight, caveat, or question.
Peihang Lyu (2025) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: