enriqueav / lstm_lyrics

LSTM text generation by word. Used to generate lyrics from a corpus of a music genre.
https://medium.com/@enriqueav/word-level-lstm-text-generator-creating-automatic-song-lyrics-with-neural-networks-b8a1617104fb
MIT License
80 stars 27 forks source link

Simplify shuffle and split #5

Closed enriqueav closed 6 years ago

enriqueav commented 6 years ago

The function to shuffle and split set can be simplified a little bit.