Downloads · 30 days
540
28% of all-time downloads
haiyewon/Decomposer-Qwen3-8B
Decomposer-Qwen3-8B is a text generation model from haiyewon. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Decomposer decompiles symbolic music (MIDI) into executable Strudel programs. This model is the 8B model from the paper Decomposer: Learning to Decompile Symbolic Music to Programs, post-trained from Qwen3-8B.
Downloads · 30 days
540
28% of all-time downloads
All-time downloads
1.9K
Public
Parameters
8.2B
16.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors16.4 GB · 100%
From the Hugging Face model README
Decomposer decompiles symbolic music (MIDI) into executable Strudel programs. This model is the 8B model from the paper Decomposer: Learning to Decompile Symbolic Music to Programs, post-trained from Qwen3-8B.
Clone our GitHub code repo, run through the setup steps, and try:
git clone https://github.com/elianakim/Decomposer.git
cd Decomposer
uv sync
uv run generate_transformers.py \
--model haiyewon/Decomposer-Qwen3-8B \
--midi_path path/to/input.mid \
--n_outputs 5
The repo and inference scripts provide a more complete usage guide.
<!-- , including the MIDI→text preprocessing (`MidiToText`) and the decompilation prompt -->MIDI is serialized as instrument-wise note events. Onsets are given in cycle coordinates instead of seconds:
[BPM=120 Meter=4]
[acoustic_grand_piano] [email protected] [email protected] [email protected] [email protected]
[drum] [email protected] [email protected] [email protected] [email protected]
[BPM=… Meter=…] — tempo/meter; if absent, madmom is used to estimate them.pitch@cycle_onset tokens; melodic pitches as note
names (C4, F#3), drums as GM drum names (bass_drum, closed_hi_hat).Strudel-Synth is a synthetic corpus of 21,174 (MIDI, Strudel) pairs (20,152 train / 1,022 test) built by distilling Strudel programs from Claude-Opus-4.6 and rendering each to MIDI with the Strudel runtime. Its ~20K training split is divided into two disjoint ~10K halves, one per stage:
Recommended settings matching the paper evaluation:
| Setting | Value |
|---|---|
temperature | 1.0 |
max_new_tokens | 4096 |
enable_thinking | false |
If you find our model useful, please cite our research as
@article{kim2026decomposer,
title = {Decomposer: Learning to Decompile Symbolic Music to Programs},
author = {Kim, Yewon and Gandhi, Apurva and Chung, David and Neubig, Graham and Donahue, Chris},
journal = {arXiv preprint arXiv:2607.01849},
year = {2026}
}