Downloads · 30 days
5
11% of all-time downloads
TristanBehrens/bach-garland-transformer
bach-garland-transformer is a machine learning model from TristanBehrens. 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.
Downloads · 30 days
5
11% of all-time downloads
All-time downloads
46
Public
Parameters
157K
633 KB on disk
Likes
0
Public
Click a slice to open those files.
.jpg640 KB · 50%
From the Hugging Face model README

This is a Transformer model trained on music by Johann Sebastian Bach. It includes all pieces of Bach's music that can be played on church organ. The samples come in the prototypical Garland notation.
The dataset contains 100K samples and comes with a total token count of 144M.
examples/music.ipynb. Do not forget to add the id of this model.
Trained with Helibrunna by Dr. Tristan Behrens.
training:
model_name: bach_garland_transformer
batch_size: 40
lr: 0.001
lr_warmup_steps: 1000
lr_decay_until_steps: 10000
lr_decay_factor: 0.001
weight_decay: 0.1
amp_precision: bfloat16
weight_precision: float32
enable_mixed_precision: true
num_epochs: 8
output_dir: output/bach_garland_transformer
save_every_step: 500
log_every_step: 10
wandb_project: bach_garland
torch_compile: false
model:
type: transformer
dim: 64
n_layers: 4
n_heads: 4
fc_scale: 2
context_length: 2048
vocab_size: 178
dataset:
hugging_face_id: TristanBehrens/bach_garland_2024-100K
tokenizer:
type: whitespace
fill_token: '[EOS]'