Published on Medium
View Medium
·
Report Bug
·
Request Feature
The results obtained by the Transformers are incredible in the area of NLP. The potential to capture the relationship between data without limits on the distance between them changed the game. However, other fields are achieving remarkable results using transformers like music composition. In this article, we are going to explore how to build a music composition neural network using transformers.
This project was builded with the next technologies.
You need the next componenets to run this project.
- Docker. To install it follow these steps Click. On Ubuntu, you can run:
sudo apt-get install docker-ce docker-ce-cli containerd.io
- Visual Studio Code. To install it follow these steps Click. On Ubuntu, you can run:
sudo snap install code --classic
- Install the visual studio code extension "Remote - Containers"
Follow the next steps:
- Run the visual studio code.
- Open the folder where you clone the repository.
- Click on the green button with this symbol in the bottom left of visual studio code "><".
- Click on reopen in a container.
- Execute "main.py".
You can use the generator running main.py. Just need to download the midi file and save it as music.mid in the same folder.
python3 main.py
Distributed under the GNU v3 License. See LICENSE
for more information.
Esteban Vilca - @ds_estebanvz - esteban.wilfredo.g@gmail.com
Project Link: https://github.com/estebanvz/peruvian-music