Skip to content

serkansulun/lyricsemotions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emotion classification of MIDI lyrics

(Also check out https://github.com/serkansulun/midi-emotion for another, more accurate MIDI dataset with continuous-valued valence-arousal labels.)

To only download the datasets, with pairs of MIDI file names and predicted emotions from the lyrics, you can right-click and choose "Save Link As...", using the links below:

7-labels

28-labels

Download the models and place inside the models folder.

Required Python packages: transformers, pretty_midi

Usage:

python main.py --midi_file_path "John Lennon - Imagine.mid"

or

python main.py --lyrics "I hope some day you'll join us. And the world will be as one"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages