Skip to content

Lyrics generation given a input seed with character level model

Notifications You must be signed in to change notification settings

bebbieyin/lyrics-generator

Repository files navigation

Lyrics-generator

Lyrics generation based on different music genres given a user input seed

System Workflow

alt text

Dataset

The dataset is created by using Spotify API and Genius API.

Spotify API is used to retrieve songs from five different genres (Pop, Rock, Blues, Country, Hip-Hop) and Genius API is used to search for the song lyrics for each song. The lyrics are then retrived from the Genius website using web-scaping.
See Creating Dataset.ipynb

Model

Character-level language model is used for this project. The model used is RNN with LSTM layers.
For more detailed explanation, read the Report.pdf

How to run the program :

  1. Run User interface.ipynb
  2. Choose the genre for the song you want to write
  3. Enter a few words (at least 20 characters).
  4. Press the ‘Generate’ button and wait for results.
  5. To generate another song lyric, click Reset and repeat 1 to 4.

Screenshot of User interface:

alt text

alt text

About

Lyrics generation given a input seed with character level model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published