Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Use deep learning to generate and harmonize music in the style of Bach
| Date | Stars |
|---|---|
| 2026-07-31 | 388 |
| 2026-08-06 | 388 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# BachBot
BachBot is a research project utilizing long short term memory (LSTMs)
to generate Bach compositions.
## Installation
Docker container images are hosted on DockerHub.
CPU-only
```
docker pull fliang/bachbot:base
```
CUDA-7.5
```
docker pull fliang/bachbot:CUDA-7.5
```
## Getting Started
Set up environment
```
source scripts/activate
```
Prepare polyphonic Bach chorale corpus and train `torch-rnn` LSTM.
```
bachbot chorales prepare_poly && \
bachbot concatenate_corpus scratch/*.utf && \
bachbot make_h5 && \
bachbot train
```
Sample the trained LSTM and decode output to musicXML.
```
bachbot sample <path_to_checkpoint> -t <temperature> && \
bachbot decode decode_chord_constant_t_utf scratch/utf_to_txt.json scratch/sampled_<temperature>.utf
```
## Workflow
* `source ./scripts/activate.zsh` to set up the working environment
* Pro-tip: Add `source ~/bachbot/scripts/activate` to your `.{bash|zsh}rc`
* To develop on the scripts
```
cd ./scripts
pip install --editable .
```
The `bachbot` shell command will use the entry
point defined inside `./scripts/setup.py`.
* To generate `ctags` which include system Python libraries
```
ctags -R -f ./tags `python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`<CR>
```
Excerpt of 1,281 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:52beea10867d6a96, llm:Repository description: 'Use deep learning to generate and harmonize music in the style of Bach' (Python).
matched fp:52beea10867d6a96, llm:Repository description: 'Use deep learning to generate and harmonize music in the style of Bach' (Python).
matched fp:52beea10867d6a96, llm:Repository description: 'Use deep learning to generate and harmonize music in the style of Bach' (Python).