Model reference · open weights

Aria-MIDI-MLM

Embeddings SyMuPe Embeddings 1 build Non-commercial 2k dl/mo

Aria-MIDI-MLM is an open-weight embedding model from SyMuPe. Aria-MIDI-MLM (FP32) weighs 165 MB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • Aria-MIDI-MLM is a 12-layer Transformer encoder with 82M parameters developed by SyMuPe for symbolic piano music feature extraction.
  • It was pre-trained using a Multi-Mask Language Modeling objective on 371,053 piano MIDI files and processes inputs such as pitch, velocity, and time position.
  • The model is distributed under the CC-BY-NC-SA 4.0 license.

Summary of the SyMuPe/Aria-MIDI-MLM model card, 2026-10-01

What it is

Released bySyMuPe
Released2026-04-27
Parameters82M
VRAM165 MB for the weights

What it runs on

Memory and cards for Aria-MIDI-MLM (FP32)

165 MBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What SyMuPe says about Aria-MIDI-MLM

Read the model card

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.

  • TISMIR: https://doi.org/10.5334/tismir.333
  • arXiv: https://arxiv.org/abs/2605.06627
  • SyMuPe: https://github.com/ilya16/SyMuPe
  • PianoCoRe: https://github.com/ilya16/PianoCoRe
  • Dataset: https://huggingface.co/datasets/loubb/aria-midi

Architecture

  • Type: Transformer Encoder
  • Configuration: 12 layers, 768 hidden dimensions, 12 attention heads.
  • Objective: Multi-Mask Language Modeling (mMLM).
  • Inputs (score-agnostic): Pitch, Velocity, TimeShift, Duration, absolute TimePosition
  • Training: Pre-trained for 600,000 steps on 512-note sequences sampled from the deduplicated Aria-MIDI corpus.

Quick Start

Before 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)

License

The model weights are distributed under the CC-BY-NC-SA 4.0 license.

Citation

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}
}

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

How it works

How embedding models work

Your textsentence / documentEncodermaps meaningVectorlist of numbersAn embedding model turns text into a vector, so similar meanings sit close together, which is the basis of search and RAG.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms