Downloads · 30 days
0
Egorp/j_s_gan
j_s_gan is a machine learning model from Egorp. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository contains an experimental Generative Adversarial Network (GAN) model designed to generate Bach-like textures. The model is based on the Aligned Bach Chorales Dataset, which can be found here.
Downloads · 30 days
0
Access
Public
Updated Dec 5, 2023
Repo size
483 MB
Likes
0
Public
Click a slice to open those files.
.pth463 MB · 96%
From the Hugging Face model README
This repository contains an experimental Generative Adversarial Network (GAN) model designed to generate Bach-like textures. The model is based on the Aligned Bach Chorales Dataset, which can be found here.
This project is licensed under the MIT License.
The GAN consists of two parts: a generator and a discriminator. Both models were trained on the Aligned Bach Chorales Dataset, which represents Bach chorales in a binary matrix format.
To use this model, you need to have PyTorch version 2.1.0+cu121 installed. The dataset loader, model structure, and training scripts are all included in the torch_binary2_v1 notebook.
git clone https://huggingface.co/Egorp/j_s_gan
binary_to_midi notebook included in this repository to convert the binary matrices generated by the GAN into MIDI format.The dataset used for training this model can be found in the folder named "np_convert". This folder contains binary representations of Bach chorales.
Contributions to this project are welcome. Please feel free to submit issues and pull requests.
For any queries or discussions regarding this project, please open an issue in this repository.
Special thanks to the creators and maintainers of the Aligned Bach Chorales Dataset for providing the data used to train this model.