Orpheus Music Transformer (medium) - ONNX export for MidiEditor AI

An ONNX conversion of the base model of Orpheus Music Transformer by Project Los Angeles / Tegridy Code (asigalov61). It lets the MidiCreator of MidiEditor AI continue, compose and re-pitch MIDI inside the editor with ONNX Runtime, without Python.

All credit for the model belongs to its author. For the original checkpoints, the training code, the user guide and the Space see:

What was changed

Original checkpoint: Orpheus_Music_Transformer_Trained_Model_128497_steps_0.6934_loss_0.7927_acc.pth (8 layers, 32 heads). The model was not retrained or fine-tuned. Changes made for this export:

  • The network was rebuilt as one ONNX graph from the checkpoint. Attention uses ONNX Runtime's GroupQueryAttention operator (domain com.microsoft) with the rotary embedding inside and one key/value buffer per layer (float16), so the file needs ONNX Runtime and does not load in other ONNX runtimes.
  • The weights of the matrix multiplications are quantised to 4 bits (block-wise, MatMulNBits, one scale per 32 weights). This makes the file much smaller than the checkpoint and usable on a CPU; the output is close to, but not identical with, the original model's.

Files

File Size What
orpheus.onnx 411 MB the model
orpheus.json 1 KB sizes and token ids

Use

In MidiEditor AI: MidiCreator > "Models...". To use the model elsewhere, keep both files in one folder.

License

Apache-2.0, as the original model. The conversion is provided as is, without any warranty.

Credit

Orpheus Music Transformer - Project Los Angeles, Tegridy Code 2026: https://huggingface.co/asigalov61/Orpheus-Music-Transformer

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for happytunesai/orpheus-medium-onnx

Quantized
(2)
this model