📦 Models on This PC
The models behind MidiCreator, Song Plan and Transcribe can run inside the editor itself. Models… opens the model manager, where you choose which ones to download.
What it is, and how to open it
A model on this PC needs no Python, no server and no account, spends no quota, and sends nothing anywhere: the music you give it and the recording you transcribe stay on the machine. The editor runs the models with ONNX Runtime, on the processor or on the graphics card.
💡 Find it in: the button Models… next to the model list of the MidiCreator, Song Plan and Transcribe tabs, and in Settings → MIDI Models, which also shows the models folder and the runtime. Nothing is bundled with the editor and nothing is downloaded unasked - the models and the runtime they run on are fetched when you ask for them.
Opened from the Transcribe tab: its models come first, the recommended ones are bold, and the line under the list explains the selected one and where it appears in the editor.
The runtime
The models run on ONNX Runtime, a library by Microsoft. It is not part of the editor's download, so nobody who does not use models on their PC has to fetch it. The row at the top of the model manager says what is installed and offers what is missing:
- Download runtime fetches the runtime for the processor - a small download, once.
- With graphics card support or Add graphics card support fetches the larger version that also runs the models on an NVIDIA graphics card. The button names the size.
You do not have to think of it first: when you download a model and the runtime is not there yet, the model manager asks whether to fetch it, and continues with the model afterwards.
The runtime comes from the project's Hugging Face account (happytunesai/onnxruntime-windows), like the models: Microsoft's files, unchanged. It is stored in the editor's data folder and stays there when the editor is updated in place. Every downloaded file is checked against its checksum before the editor uses it, and a broken-off download continues where it stopped, as with the models. ONNX Runtime's license and third-party notices are downloaded with the runtime and placed next to it. After adding graphics card support to a runtime that is already in use, restart the editor - until then the graphics card box says so.
If a file of the runtime gets damaged on the disk, the runtime does not pass its check when a model is loaded. The model manager then names the runtime's folder and offers the download again (Download runtime again or Download graphics card support again); the new download replaces the damaged files.
The models in the list
The list shows every model with what it is for, its author, size, license and status. For names the tabs that use the model - MidiCreator and Song Plan, or Transcribe - and recommended marks the ones to start with: Orpheus medium and midi-composer tv2o-medium for MidiCreator and Song Plan, MuScriptor medium and Beat This! for Transcribe. Opened from a tab, the manager lists that tab's models first. The box Where to start above the list says which of them to take, and names the models that come from the project's Hugging Face account - Orpheus, MuScriptor and the beat tracker, converted for the editor; the midi-composer models come from their authors' own pages. Size, license and availability are read live from Hugging Face. Also as Space says whether the same model also runs online on a Hugging Face Space (the midi-composer or the Orpheus Space): there it can be chosen in the model list without a download, but the bars of the prompt are sent to the Space. A dash means the model runs only on this PC.
| Model | Used for | By | License |
|---|---|---|---|
| midi-composer tv2o-medium | MidiCreator, Song Plan: compose and continue - the general model | skytnt | Apache-2.0 |
| Music-Llama-Medium, Music-Llama | MidiCreator, Song Plan: general models with their own training; Music-Llama is the large one | asigalov61 | Apache-2.0 |
| tv2o-medium J-pop, tv2o-medium Touhou | MidiCreator, Song Plan: tv2o-medium fine-tuned on J-pop and on Touhou game music | skytnt | Apache-2.0 |
| bread-tv2o-medium | MidiCreator, Song Plan: a community model built like tv2o-medium | breadlicker45 | as stated on its page |
| Orpheus medium, Orpheus large (quality fine-tune) | MidiCreator: continue, compose, and Re-pitch; Song Plan: continue and vary (new material comes from a midi-composer model, see below) | Project Los Angeles | Apache-2.0 |
| MuScriptor small, MuScriptor medium | Transcribe: recording to MIDI. Medium is the one to start with: more accurate, and fastest on a graphics card. Small is a third of the size and clearly faster - for a PC that is too slow for medium. | Kyutai and Mirelo | CC BY-NC 4.0, non-commercial use only |
| Beat This! (beat tracker) | Transcribe: tempo, bars and time signature | JKU Linz | MIT |
Orpheus continues music; new material and bars that hold only drums are written by a midi-composer model. In Song Plan and MidiPilot's Creator mode an Orpheus model on this PC therefore works together with a midi-composer model on this PC (the first one in this list that is installed). Install one of them as well: without one, those builds and requests are refused instead of going to a Space.
In the model lists of the panels an installed model appears as <name> (native). A model you found or entered that has the same name as another model in the list also names its author, for example Music-Llama (someone) (native), so no two entries look alike and each name always runs the same model. The transcription models are listed on the Transcribe tab; the beat tracker is used by that tab without appearing in a list.
Size, license and availability come from Hugging Face. When it cannot be reached - the PC is offline, or Hugging Face is busy - an installed model says installed (Hugging Face not reachable) and still runs; the manager asks again by itself a moment later, and Refresh asks again at once. Only a model that Hugging Face reports as removed says no longer on Hugging Face.
Downloading and removing
- Select a model. The line under the list describes it and names its source. While its status says checking..., the manager reads the model's files, sizes and checksums from Hugging Face; Download becomes available as soon as they are there.
- Click Download. The progress bar and the status line show how far it is; Cancel download stops it and removes the unfinished files.
- When the status says installed, close the window. The panel that opened it selects the model you just installed.
When the connection breaks off, the download tries again by itself a few times and continues where it stopped. If it still ends, what arrived stays: the model shows as partly downloaded, and the next Download continues from there instead of starting over. Closing the window during a download stops it the same way: what arrived stays, and the next Download continues from there. Cancel download removes the unfinished files. A download that continues only needs free disk space for what is still missing.
Before a model is used, every file is checked against the size and the checksum its page on Hugging Face publishes. A file that does not match is removed and downloaded again on the next try, while the files that passed the check stay - a broken download never ends up as a model that fails later.
| Button | What it does |
|---|---|
| Delete | Removes a downloaded model from this PC. It can be downloaded again later. For a partly downloaded model it removes the unfinished files - also when the model is no longer on Hugging Face or the PC is offline. While a generation or a transcription runs, nothing is deleted; a model the editor has loaded gives its memory back first. |
| Hugging Face page | Opens the model's page in the browser - its description, license and files |
| Open folder | Opens the folder the selected model is stored in |
| Remove from list | Takes a model you added yourself, or a folder of your own, out of the list. A downloaded model's files stay; for a partial download it asks whether to delete those files too. Not available while a download runs. |
| Refresh | Asks Hugging Face again about the models it could not reach |
Models and the runtime are stored with this copy of the editor (in its data folder), while the list of found models, your own folders and the chosen models belong to your Windows user. A second copy of the editor in another folder therefore shows the same list but has its own downloads: a model downloaded in one copy shows as available in the other. To use the files of the other copy without downloading them again, add that model's folder with Add folder….
Two editor windows of the same copy share the models folder. While one window downloads a model or the runtime, the other shows it as being downloaded in another window and leaves its files alone. When you switch back to a window, its model lists show what the other window installed or deleted meanwhile.
Conditions of use (MuScriptor)
The authors of MuScriptor attach conditions to their model: it is licensed for non-commercial use (CC BY-NC 4.0), and you undertake to transcribe only music you have the necessary rights to. Before a MuScriptor download starts, a window shows the license and the authors' conditions in their own words. Download becomes available once you tick I have read the license and these conditions and accept them.
Where the converted models come from
The midi-composer models are downloaded from their authors' own Hugging Face repositories. Orpheus, MuScriptor and Beat This! are published by their authors in a form the editor cannot run directly, so the project hosts copies converted to ONNX for the editor at huggingface.co/happytunesai. The weights are the originals'; nothing was retrained. Each page names the original model, its authors, what was changed for the conversion, and the license:
| Converted copy | Original |
|---|---|
| happytunesai/orpheus-medium-onnx, happytunesai/orpheus-large-ft-onnx | Orpheus Music Transformer by Project Los Angeles / Tegridy Code |
| happytunesai/muscriptor-small-onnx, happytunesai/muscriptor-medium-onnx | MuScriptor by Kyutai and Mirelo |
| happytunesai/beat-this-onnx | Beat This! by the Institute of Computational Perception, JKU Linz |
All credit for the models belongs to their authors. A model's page (README.md) is downloaded into its folder together with the model.
Finding more models
Any ONNX export of a midi-composer-family model works. Type a search word into the line at the top
and click Search: the manager looks through Hugging Face and lists the compatible models it
finds. A repository id in the form user/name adds that model directly. A found model
stays in the list once you download it.
Gated repositories - those that ask for an access request on Hugging Face - are left out: the downloads do not use a Hugging Face account, so access granted on the page would not help. The status line says how many were left out, and how many results could not be checked because Hugging Face did not answer.
A folder of your own
Add folder… adds a model that is already on your disk - for example a smaller quantised copy you made yourself. The files in the folder tell the editor what it is:
| Kind | Files in the folder |
|---|---|
| midi-composer family | model_base.onnx, model_token.onnx (and config.json) |
| Orpheus | orpheus.onnx, orpheus.json |
| MuScriptor | frontend.onnx, decoder.onnx with decoder.onnx.data, muscriptor.json |
| Beat tracker | beat_frontend.onnx, beat_model.onnx, beat_this.json |
A folder of your own appears in the model lists as <folder> (native, own). A second folder of the same name is numbered (<folder> 2 (native, own)), and each folder keeps its name - also while the other one's drive is not connected, or after the other one was removed from the list.
Processor or graphics card
The box Run local models on the graphics card when one can in Settings → MIDI Models runs the models on the graphics card instead of the processor. It is one setting for the MidiCreator, Song Plan and Transcribe tabs; each tab names where its models run, with a Settings… link to that page.
For the graphics card the editor needs the runtime's graphics card support (see The runtime), an NVIDIA card with a current driver, the CUDA Toolkit 12.x and cuDNN 9 for CUDA 12. It finds the last two in their install folders. Any driver for CUDA 12 will do: when the installed CUDA Toolkit is newer than the driver, the line notes it and the card is used anyway. The line below the box names the card, or exactly what is missing and where to get it; while something is missing the models run on the processor, and once it is there they move to the card. Check again looks again after an installation; closing the model manager does the same.
When the graphics card runs out of memory during a run - often because a game, a video or another model holds it - the run stops with a message that says so and names the way out: close what else uses the card, or turn the graphics card off in Settings → MIDI Models to run on the processor. A model that does not fit on the card when it is loaded runs on the processor by itself (an Orpheus model then reads the shorter prompt it reads on the processor), and the status line says why. The card is tried again when the model is loaded the next time: after Free Model Memory in the Monitor tab, after another model, or after Check again. A transcription model that fits on the card but leaves no room for its working memory also runs on the processor; when the beat detection fails on the card during a run, it runs once more on the processor.
When another midi-composer or Orpheus model is chosen, the model of the same kind that was loaded before is released before the new one is loaded. After each run a model gives back the working memory the run took, in main memory and on the graphics card; the model itself stays loaded for the next run.
On the processor the models leave one processor core free, so the editor stays responsive and playback does not stutter while a model runs.
The Monitor tab shows what a running model uses of the processor, the memory and the graphics card, and gives the models' memory back on request.
See also
- MidiCreator - generating with the models.
- Song Plan - whole songs from a description.
- Transcribe - recordings to MIDI.
- Monitor - resources of the local models.