Gpt 2 Raps Save

generate lyrics with GPT-2

Project README

gpt-2 raps

A neural rap lyrics generator powered by GPT-2, ported from gpt-2-poetry by @kcimc.

Example

Demo running here.

Setup

Contents

Input:

  • Genius song IDs stored in genius_song_ids.txt

src:

  • 00_requirements.R installs/loads required R libraries
  • 01_get-raps.R gets lyrics from Genius for tracks in genius_song_ids.txt, then exports to text files
  • 02_gen-raps.ipynb makes new lyrics based on random chunks from existing lyrics and seed words (should be run from your gpt-2/src/ directory)

Output:

  • [0-9].txt lyrics as text files (generated by 01_get-raps.R)
  • lyrics.json all original lyrics as JSON
  • generated.json all generated lyrics as JSON

index.html houses the demo app.

Open Source Agenda is not affiliated with "Gpt 2 Raps" Project. README Source: ewenme/gpt-2-raps
Stars
36
Open Issues
0
Last Commit
5 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating