• Stars
    star
    120
  • Rank 294,220 (Top 6 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Multi-Track Music Generation with the Transfomer and the Johann Sebastian Bach Chorales dataset

MMM: Exploring Conditional Multi-Track Music Generation with the Transformer and the Johann Sebastian Bach Chorales Dataset.

Implementation of the paper "MMM: Exploring Conditional Multi-Track Music Generation with the Transformer" (paper). Uses OpenAI's GPT-2 to compose music.

Contact.

Find me on LinkedIn and say hello.

If you find and issue or have a feature request, report either here on GitHub.

Please be so kind and star the repository if you find it useful.

Acknowledgements.

This repository has been created in cooperation with Pyoneer. I am very grateful!

About.

This repository allows you to train GPT-2 on the Johann Sebastian Bach chorale dataset. You can train both MMMTrack and MMMBar from the paper.

How to run.

Requirements:

pip install transformers
pip install tokenizers
pip install torch
pip install music21
pip install note_seq

Training:

  1. Clone this repository git clone https://github.com/AI-Guru/MMM-JSB.git.
  2. Train MMMTrack with python train_jsb_mmmtrack.py.
  3. Train MMMBar with python train_jsb_mmmbar.py.

Sampling: Run the jupyter notebook.

Training should take roughly one hour on a GPU per model for the JSB dataset.

Pretrained checkpoint.

A pretrained network can be found here: https://ai-guru.s3.eu-central-1.amazonaws.com/mmm-jsb/mmm_jsb_checkpoints.zip

What is missing?

  • TensorFlow support is rudimentary.
  • Data preprocessing and training on the Lakh dataset.
  • Implementation as a tool or a DAW plugin.

License.

Released under the Apache-2.0 License.

More Repositories

1

music-generation-research

A straightforward collection of Music Generation research resources.
564
star
2

xlstm-resources

Resources about xLSTM by Sepp Hochreiter
241
star
3

arxiv-reader

Reads arXiv papers using Text-to-Speech
Python
54
star
4

gym-metacar

OpenAI Gym wrapper for Metacar: A reinforcement learning environment for self-driving cars in the browser.
Python
44
star
5

musictransformer2023

Python
33
star
6

pointcloud_experiments

Experiments with Pointnet and GAPNet/GAPointNet. Attention and transformers for point clouds.
Python
32
star
7

ngdlm

Next Generation Deep Learning Models
Python
26
star
8

SincNet

Keras implementation of SincNet (https://github.com/mravanelli/SincNet, https://arxiv.org/abs/1808.00158)
Python
12
star
9

psychology_ai

Deep Learning for Myers Briggs psychological character typing. Using BERT, and fast.ai vor Natural Language Processing (NLP).
Jupyter Notebook
9
star
10

tonicnet

TensorFlow 2 Implementation of TonicNet
Python
7
star
11

deep-reinforcement-learning

Deep Reinforcement Learning Demos
Python
5
star
12

plague-analyst

Python
5
star
13

stateful-conversational-agent

Python
5
star
14

mantradl

A collection of Deep Learning thingies for sound processing. Using Keras.
Python
5
star
15

jetson-iot

My experiments with Jetson Nano.
Python
4
star
16

weird-fiction-gentleman

Generates weird fiction with Deep Learning
Jupyter Notebook
4
star
17

dsr-apr-2018

Contains notebooks from the Deep Learning Deep Dive @DSR, Berlin.
Jupyter Notebook
3
star
18

meetup-wuerzburg-apr-2018

Material zum Meetup "CNNs und DOOM - 
Deep Reinforcement Learning"
Jupyter Notebook
3
star
19

writebookswithai

Writing books with AI.
Python
3
star
20

meetup-wuerzburg-may2018

Jupyter Notebook
2
star
21

gym-art

A gym environment for creating art.
Python
2
star
22

hindi-poet

Python
2
star
23

mandalapainter

A mandala-painter.
Python
2
star
24

reinforcementlearning

2
star
25

twain-lovecraft-deeplearning

A Deep Learning literature generator that blends Mark Twain with H. P. Lovecraft
2
star
26

quake-maps

2
star
27

latent-dream

Dreaming in latent spaces.
Jupyter Notebook
2
star
28

langchain_weaviate_experiments

Contains a few experiments that show how to use Weaviate and Langchain.
Python
1
star
29

RTSDRL

Python
1
star
30

deep-asana-data

1
star
31

aicomposer

Repository for my AI Composer work.
1
star
32

dummyrepo

Just to get started.
CSS
1
star
33

teaching

Jupyter Notebook
1
star
34

gym-lawnmower

Python
1
star
35

fhws

Jupyter Notebook
1
star
36

baselines_playground

Python
1
star
37

mathgenealogy

Crawls the Math Genealogy Project and creates a CSV
Python
1
star
38

ai-guru-blog

Jupyter Notebook
1
star
39

ki-ml-dl-booklet

1
star
40

iris-machine-learning

Comparison of the Iris classification problem using scikit-learn and Keras
Python
1
star
41

remarkable

Remarkable.
Python
1
star
42

music-sadhana

Python
1
star
43

author-classifier

Python
1
star