Spaces:
Runtime error
Runtime error
README.md
Browse files
README.md
CHANGED
|
@@ -12,5 +12,16 @@ license: mit
|
|
| 12 |
This project implements a GPT-2 based model for generating MIDI music sequences
|
| 13 |
using deep learning. The model is trained on MIDI files from the MAESTRO
|
| 14 |
dataset, converted to a special JSON format. The model uses HuggingFace's
|
| 15 |
-
transformers library for training.
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
This project implements a GPT-2 based model for generating MIDI music sequences
|
| 13 |
using deep learning. The model is trained on MIDI files from the MAESTRO
|
| 14 |
dataset, converted to a special JSON format. The model uses HuggingFace's
|
| 15 |
+
transformers library for training.
|
| 16 |
+
|
| 17 |
+
Select a composer from the dropdown and click generate music. This will initiate the
|
| 18 |
+
generation. and produce a short musical clip which can be downloaded. If the song is
|
| 19 |
+
to your liking, click continue sequence, which will add about 10 seconds to the song.
|
| 20 |
+
This continue process can be repeated to extend the song as much as you'd like. If the
|
| 21 |
+
initial sequence isn't inspiring, click generate music to start again and create a new
|
| 22 |
+
initial sequence.
|
| 23 |
+
|
| 24 |
+
Some post processing on the generated sequence is done to ensure a
|
| 25 |
+
properly formatted midi file, however the model occasionally produces a file that
|
| 26 |
+
cannot be interpretted for playback. If this happens, simply begin again by clicking
|
| 27 |
+
generate music.
|