Music Generation

Deep Learning

Multi-layer recurrent neural networks for training and sampling from texts, inspired by karpathy/char-rnn.


This code is written in Python 2, and it requires the Keras deep learning library.


All input data should be placed in the data/ directory. The example input.txt is taken from the Nottingham Dataset (Cleaned).

To train the model with default settings:

$ python

To sample the model:

$ python 100

Training loss/accuracy is stored in logs/training_log.csv.

Karthik Bhaskar
Karthik Bhaskar
Machine Learning Researcher | Data Scientist | Software Engineer

Machine Learning Researcher | Software Engineer | Vector Institute | University of Toronto | University Health Network