Model reference · open weights
Aria-MIDI-MLM is an open-weight embedding model from SyMuPe. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | SyMuPe |
|---|---|
| Type | Embedding models |
| Task | Embeddings |
| Parameters (lead) | 82M |
| Runs with | symupe |
| Released | 2026-04-27 |
| Popularity | 2k downloads / month |
| Licence | Commercial licence needed |
About
Aria-MIDI-MLM is a 12-layer Transformer encoder designed for symbolic piano music feature extraction. It was pre-trained using a Multi-Mask Language Modeling (mMLM) objective on 371,053 diverse piano MIDI files from the deduped subset of Aria-MIDI dataset.
This model serves as the foundation for the MIDI Quality Classifier, presented in the article: PianoCoRe: Combined and Refined Piano MIDI Dataset.
Pitch, Velocity, TimeShift, Duration, absolute TimePositionBefore using this model, ensure you have the symupe library installed:
pip install -U symupe
Use the following code to embed MIDI files:
import torch
from symupe import AutoEmbedder
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
# Build Embedder by loading the model and tokenizer directly from the Hub
embedder = AutoEmbedder.from_pretrained("SyMuPe/Aria-MIDI-MLM", device=device)
# model, tokenizer = embedder.model, embedder.tokenizer
# Extract embeddings from a MIDI file
result = embedder("performance.mid", max_seq_len=512, hop_size=256, layer=-1)
# result is MusicEmbeddingResult(...) containing:
# - midi, seq, embeddings, memory_tokens, token_embeddings, hidden_states, sequences and window_indices
print(result.embeddings.shape) # (windows, seq_len, emb_dim)
The model weights are distributed under the CC-BY-NC-SA 4.0 license.
If you use this model in your research, please cite:
@inproceedings{borovik2025symupe,
title = {{SyMuPe: Affective and Controllable Symbolic Music Performance}},
author = {Borovik, Ilya and Gavrilev, Dmitrii and Viro, Vladimir},
year = {2025},
booktitle = {Proceedings of the 33rd ACM International Conference on Multimedia},
pages = {10699--10708},
doi = {10.1145/3746027.3755871}
}
@article{borovik2026pianocore,
title = {{PianoCoRe: Combined and Refined Piano MIDI Dataset}},
author = {Borovik, Ilya},
year = {2026},
journal = {Transactions of the International Society for Music Information Retrieval},
volume = {9},
number = {1},
pages = {144--163},
doi = {10.5334/tismir.333}
}
From the published model card. Full card on the HuggingFace links in the sidebar.
How it works
Using it via the API
Once AxForge deploys aria-midi-mlm for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (aria-midi-mlm below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/embeddings \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"aria-midi-mlm","input":"text to embed"}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.