Downloads · 30 days
0
yalishanda/dynamics-needed-categorical
dynamics-needed-categorical is a machine learning model from yalishanda. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for drum_dynamics. The card lists the license as mit.
Downloads · 30 days
0
Access
Public
Updated Aug 14, 2026
Repo size
18.4 MB
Likes
0
Public
Click a slice to open those files.
.pt18.4 MB · 100%
From the Hugging Face model README
Version: 0.1.0
Transformer with a categorical (softmax-over-velocity-bins) head that predicts a distribution over per-note velocities ("dynamics") for MIDI drum tracks. Shares the same backbone as the MDN model; the head models velocity as a 128-way classification rather than a mixture of Gaussians. Trained on the Expanded Groove MIDI Dataset (E-GMD). Part of the Dynamics Needed thesis project.
backbone.pt — shared transformer backbone (identical to the MDN repo).categorical_head.pt — the categorical output head checkpoint.Given a MIDI drum track with flat/undynamic velocities, sample or read out a "best-fitting" velocity per note to restore human-like dynamics. Like the MDN model this captures velocity uncertainty, but via a discrete softmax over velocity bins; sampling is not temperature-controlled.
E-GMD (Expanded Groove MIDI Dataset), evaluated on the held-out test split.
| metric | value |
|---|---|
| Native NLL | 3.044 |
| Discretized NLL | 3.044 |
| Deterministic readout — MAE | 19.168 |
| Deterministic readout — RMSE | 25.688 |
| Sampled — Wasserstein-1 | 1.494 |
| Sampled — histogram intersection | 0.947 |
Because the head is already discrete, the native and discretized NLL coincide. Use the deterministic readout for accuracy/ranking; sample from the predicted distribution to restore human-like variance.
Published as a versioned research artifact, not a final production model.
docs/methodology/kit-remapping-artifact.md.Set to mit by default — change to match the thesis's chosen license before
publishing.