MIDI GAS

Pre-trained models for MIDI genre/artist/song identification and classification

MIDI-GAS


Primary genres model (2k seq len - 25.78M params - PoPE/PPNorm)

This is 23 primary MIDI genres classifier model
genre_to_id = {
    'alternative': 0,
    'anime piano': 1,
    'blues': 2,
    'chinese piano pop': 3,
    'classical': 4,
    'country': 5,
    'electronic': 6,
    'folk': 7,
    'funk': 8,
    'gospel': 9,
    'hip-hop': 10,
    'jazz': 11,
    'latin': 12,
    'metal': 13,
    'new age': 14,
    'piano pop rock': 15,
    'pop': 16,
    'punk': 17,
    'r&b': 18,
    'reggae': 19,
    'rock': 20,
    'soundtrack': 21,
    'world': 22
}
  • The model achieves SOTA classification results:
Validation Loss:      0.1368
Validation Accuracy:  0.9648
Validation Precision: 0.9720
Validation Recall:    0.9680
Validation F1 Score:  0.9676

Nuanced genres model (2k seq len - 25.78M params - PoPE/PPNorm)

This is 193 nuanced MIDI genres classifier model
genre_to_id = {
    {'alternative': 0,
  'alternative dance': 1,
  'alternative metal': 2,
  'alternative rock': 3,
  'americana': 4,
  'anime piano': 5,
  'art rock': 6,
  'ballad': 7,
  'beat': 8,
  'belgium': 9,
  'black metal': 10,
  'blue-eyed soul': 11,
  'bluegrass': 12,
  'blues': 13,
  'blues-rock': 14,
  'bossa nova': 15,
  'brazilian pop music': 16,
  'brill building pop': 17,
  'british invasion': 18,
  'british pop': 19,
  'cabaret': 20,
  'cantonese pop': 21,
  'ccm': 22,
  'celtic': 23,
  'celtic rock': 24,
  'chanson': 25,
  'chicago soul': 26,
  'chill-out': 27,
  'chinese': 28,
  'chinese music': 29,
  'chinese piano pop': 30,
  'choral music': 31,
  'classic country': 32,
  'classic rock': 33,
  'classical': 34,
  'classical piano strings': 35,
  'club': 36,
  'comedy rock': 37,
  'cool jazz': 38,
  'country': 39,
  'country blues': 40,
  'country gospel': 41,
  'country rock': 42,
  'cumbia': 43,
  'dance': 44,
  'dance pop': 45,
  'dance rock': 46,
  'dark wave': 47,
  'deep house': 48,
  'dirty south rap': 49,
  'disco': 50,
  'disco house': 51,
  'doo-wop': 52,
  'downtempo': 53,
  'drum track': 54,
  'dubstep': 55,
  'easy listening': 56,
  'electro': 57,
  'electronic': 58,
  'electronica': 59,
  'electropop': 60,
  'emo': 61,
  'eurodance': 62,
  'europop': 63,
  'experimental rock': 64,
  'flamenco': 65,
  'folk': 66,
  'folk rock': 67,
  'folk-pop': 68,
  'freakbeat': 69,
  'free improvisation': 70,
  'free jazz': 71,
  'freestyle': 72,
  'funk': 73,
  'funk metal': 74,
  'funky house': 75,
  'future jazz': 76,
  'gabba': 77,
  'gangster rap': 78,
  'garage rock': 79,
  'german pop': 80,
  'glam rock': 81,
  'gospel': 82,
  'grunge': 83,
  'happy hardcore': 84,
  'hard house': 85,
  'hard rock': 86,
  'hard trance': 87,
  'heartland rock': 88,
  'heavy metal': 89,
  'hip hop': 90,
  'hip house': 91,
  'hip pop': 92,
  'hip-hop': 93,
  'honky tonk': 94,
  'indie': 95,
  'indie rock': 96,
  'industrial metal': 97,
  'instrumental pop': 98,
  'instrumental rock': 99,
  'irish folk': 100,
  'israeli': 101,
  'italian disco': 102,
  'j pop': 103,
  'jam band': 104,
  'jangle pop': 105,
  'jazz': 106,
  'jazz funk': 107,
  'jazz piano': 108,
  'jungle music': 109,
  'klezmer': 110,
  'latin': 111,
  'latin jazz': 112,
  'latin pop': 113,
  'los angeles': 114,
  'lullaby': 115,
  'male vocalist': 116,
  'melodies': 117,
  'memphis soul': 118,
  'metal': 119,
  'modern rock': 120,
  'motown': 121,
  'neo classical': 122,
  'neo soul': 123,
  'neo-progressive': 124,
  'neofolk': 125,
  'new age': 126,
  'new romantic': 127,
  'new wave': 128,
  'oldies': 129,
  'opera': 130,
  'orchestra': 131,
  'outlaw country': 132,
  'parody': 133,
  'patriotic': 134,
  'piano pop rock': 135,
  'piano rock': 136,
  'polka': 137,
  'pop': 138,
  'pop folk': 139,
  'pop punk': 140,
  'pop rap': 141,
  'pop rock': 142,
  'post-grunge': 143,
  'power metal': 144,
  'power pop': 145,
  'progressive bluegrass': 146,
  'progressive house': 147,
  'progressive metal': 148,
  'progressive trance': 149,
  'psychedelic rock': 150,
  'punk': 151,
  'quiet storm': 152,
  'r&b': 153,
  'ragtime': 154,
  'ranchera': 155,
  'rap metal': 156,
  'reggae': 157,
  'reggaeton': 158,
  'rock': 159,
  "rock 'n roll": 160,
  'rockabilly': 161,
  'roots reggae': 162,
  'roots rock': 163,
  'russian': 164,
  'samba': 165,
  'show tunes': 166,
  'singer-songwriter': 167,
  'ska': 168,
  'smooth jazz': 169,
  'soft rock': 170,
  'soul jazz': 171,
  'soundtrack': 172,
  'southern rock': 173,
  'soviet children songs': 174,
  'speed metal': 175,
  'speedcore': 176,
  'surf music': 177,
  'sympho black metal': 178,
  'symphonic rock': 179,
  'symphony': 180,
  'synthpop': 181,
  'tech house': 182,
  'techno': 183,
  'teen pop': 184,
  'tejano': 185,
  'trance': 186,
  'tribal house': 187,
  'trip hop': 188,
  'uk garage': 189,
  'unknown': 190,
  'video games music': 191,
  'vocal jazz': 192}
}

Output samples are avaialble here


Project Los Angeles

Tegridy Code 2026

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

Dataset used to train projectlosangeles/midigas