transformers onnx music midi music generation midi generation dataset:projectlosangeles/Los-Angeles-MIDI-Dataset license:apache-2.0 endpoints_compatible region:us
---
license: apache-2.0
datasets:
- projectlosangeles/Los-Angeles-MIDI-Dataset
library_name: transformers
tags:
- music
- midi
- music generation
- midi generation
---
# Model Card for midi-model

Midi event transformer for music generation

## Model Details

### Model Description

- **Developed by:** SkyTNT
- **Model type:** Transformer
- **License:** apache-2.0

### Model Sources

- **Repository:** https://github.com/SkyTNT/midi-model
- **Demo:** https://huggingface.co/spaces/skytnt/midi-composer


## Training Details

### Training Data

- [projectlosangeles/Los-Angeles-MIDI-Dataset](https://huggingface.co/datasets/projectlosangeles/Los-Angeles-MIDI-Dataset)

#### Training Hyperparameters

- lr: 2e-5
- weight-decay: 0.01
- batch: 4x2x4
- fp16 mixed precision

####  Loss
 - val loss: 0.17

## Files

- model.ckpt: latest model checkpoint
- soundfont.sf2: soundfont file, i put it here for convenient downloading , [source](https://musical-artifacts.com/artifacts/433)

