Dataset Viewer (First 5GB)
Auto-converted to Parquet
artist_hk
stringlengths
32
32
artist_id
stringlengths
18
18
load_date
timestamp[us, tz=UTC]date
2025-08-25 07:09:19
2025-08-25 07:09:19
record_source
stringclasses
2 values
00001372f4a5cda5188c613d1a63a4ae
ARXJLWU1242077E535
2025-08-25T07:09:19.814000
lmd_h5_similarity
0000a0c360a6addd630bc367a672ee20
ARUDUYA1187B998093
2025-08-25T07:09:19.814000
lmd_h5_similarity
0000c16ff6d00a454690ed8439d4c26a
ARHCI9W1187FB37C7F
2025-08-25T07:09:19.814000
lmd_h5_similarity
0000d180cd36976bc5658753c3d9ac83
ARO4M2H1187B98E15F
2025-08-25T07:09:19.814000
lmd_h5_similarity
0001409efa2b2c008a2693be1a31979b
ARSJZ1Z1187FB4D586
2025-08-25T07:09:19.814000
lmd_h5_similarity
00016eede52f1fc58b62c7a2cc8c0d57
AR3X3Q911C8A4163CB
2025-08-25T07:09:19.814000
lmd_h5_similarity
00020518b68f04eb2a6c6b61c3a9edbf
ARTSBXW12AF7DA1F24
2025-08-25T07:09:19.814000
lmd_h5_similarity
00022046c288ea31502a7876dcd73893
ARYSFEW1274363C485
2025-08-25T07:09:19.814000
lmd_h5_similarity
0002263d18968602ab7e9c12465489fa
AR10G5N11C8A423BFB
2025-08-25T07:09:19.814000
lmd_h5_similarity
0002727bfa3d0994030a4644c88d9076
ARLTJZH1187B992991
2025-08-25T07:09:19.814000
lmd_h5_similarity
00027d231b89559744a31de89974948a
ARI0NI61187FB43D7A
2025-08-25T07:09:19.814000
lmd_h5_similarity
0002b8ba7de3ed2b33eb31c0668a7a7e
ARVAXDW122988F9BA0
2025-08-25T07:09:19.814000
lmd_h5_similarity
0002f6aded40186a296f2dee11242d85
ARDIUCD12AF7D9156A
2025-08-25T07:09:19.814000
lmd_h5_similarity
0003386593016d53afb4e9bdafdeee1e
ARMIDRZ12592CDB9F7
2025-08-25T07:09:19.814000
lmd_h5_similarity
000385d5a1be7a9a356e3b488609a958
AR6YJBR1187FB53A46
2025-08-25T07:09:19.814000
lmd_h5_similarity
00039b35bc67f50850c5059af692ca35
ARB50QF1187FB38087
2025-08-25T07:09:19.814000
lmd_h5_similarity
00045fc5203a2cd15211878547f12e9a
ARJDOT11187FB53709
2025-08-25T07:09:19.814000
lmd_h5_similarity
0004c64fd55b8e5c12fe671df5bd02f8
AR0V6L411A348F060C
2025-08-25T07:09:19.814000
lmd_h5_similarity
0005106b377113a42f095f6c8af2a7d1
ARM3EIV1187FB51F58
2025-08-25T07:09:19.814000
lmd_h5_similarity
00051c13212f2f262ec008c84677232f
ARRWGSO122C867370B
2025-08-25T07:09:19.814000
lmd_h5_similarity
0005a17e433fd015c5773c3f4e468f10
ARLA6UY1187FB3AA8F
2025-08-25T07:09:19.814000
lmd_h5_similarity
0005cc8c28cec0f9021efcf9d081633d
ARON43B1187FB3812D
2025-08-25T07:09:19.814000
lmd_h5_similarity
0006074ddee20651caf78e9e75d047cb
ARLNLH41187B99DB64
2025-08-25T07:09:19.814000
lmd_h5_similarity
00062ce952840254d48efb925eebb5d4
ARW9Q5W1187FB539EC
2025-08-25T07:09:19.814000
lmd_h5_similarity
0006f3ceffbe6e5be1b7452e4e0ae4e9
ARPZWD51187FB47C7E
2025-08-25T07:09:19.814000
lmd_h5_similarity
000725981edf3282e2175db0dd0fb3c8
ARNEE9E1187FB45776
2025-08-25T07:09:19.814000
lmd_h5_similarity
000738b54082a4e32bfd0632804ce211
ARR77TQ1187FB507C2
2025-08-25T07:09:19.814000
lmd_h5_similarity
00077a57edbe0211fe7ef3aa610434b8
ARW9LZT1187B99FE30
2025-08-25T07:09:19.814000
lmd_h5_similarity
0007869a78c19701124d1daf2a981c8b
ARAZTCP122ECCB8DD4
2025-08-25T07:09:19.814000
lmd_h5_similarity
0007a1630694859b743776234cc9658e
AR2SNCV1187FB498B6
2025-08-25T07:09:19.814000
lmd_h5_similarity
00092ecc8a443da2b76682d83c4b9030
ARVXUD01187FB3C4EF
2025-08-25T07:09:19.814000
lmd_h5
00094e451a2adb868b55a05cdd32df74
ARYOKPV11F4C84713D
2025-08-25T07:09:19.814000
lmd_h5_similarity
0009ec2f4f9bf3dbbf056b6a237c3132
ARY5P5S1187B9A66B3
2025-08-25T07:09:19.814000
lmd_h5_similarity
000a046832e5245936b9c423b8a78dbf
AR1VM1B1187B9A155E
2025-08-25T07:09:19.814000
lmd_h5_similarity
000a18573a3bfd51023b0bc1cc486663
ARZLHFY1241B9C84AB
2025-08-25T07:09:19.814000
lmd_h5_similarity
000a34acd4203bbf23c40197f1fb2f1e
ARMUDFV122ECCBCC6C
2025-08-25T07:09:19.814000
lmd_h5_similarity
000ac5432e6ab1a6c1d8039ffdb623a2
ARPCCGX12AF7DB982E
2025-08-25T07:09:19.814000
lmd_h5_similarity
000b5578d3cbb5b1e9f6fdca118d66da
ARLDLCI1187B99A040
2025-08-25T07:09:19.814000
lmd_h5
000b8dad1113a79a8ff7c2ff4962e92c
ARM4CC81187FB3C7E3
2025-08-25T07:09:19.814000
lmd_h5_similarity
000c0110d751c634e7a17c3e1f98d151
ARDUUHG12086C1174C
2025-08-25T07:09:19.814000
lmd_h5_similarity
000c28e1fc9d067fadabfd73f61eef4f
ARPR2IX1187B990FCB
2025-08-25T07:09:19.814000
lmd_h5_similarity
000c932b52c8c608c7edd32b368bcceb
ARJ71JY1187B99971C
2025-08-25T07:09:19.814000
lmd_h5_similarity
000cccf07b6e74dda45ea5af9bd24760
ARMNHI21187FB559E1
2025-08-25T07:09:19.814000
lmd_h5_similarity
000dded0b24c2932bf07b623f125e00e
AR4NZUD1187B9A30A0
2025-08-25T07:09:19.814000
lmd_h5_similarity
000e665960208e334091dc684abece04
AROQGE111C8A414BCC
2025-08-25T07:09:19.814000
lmd_h5_similarity
000e75ab4d53db6946e19743c289277c
AR31F6C1187B98C738
2025-08-25T07:09:19.814000
lmd_h5_similarity
000e7916927e698998f731a103d79e17
ARE16RD1187FB3EE80
2025-08-25T07:09:19.814000
lmd_h5_similarity
000ed42f36f14452b49fc0b600819453
ARO0AKN1187B9A1B84
2025-08-25T07:09:19.814000
lmd_h5_similarity
000fb1eda28dd80bdfdc4b3835e5dcb1
ARIMVGT1187FB382EC
2025-08-25T07:09:19.814000
lmd_h5_similarity
00102788f4b076b21b5be2c6a5050ef7
ARRC65I1187B990006
2025-08-25T07:09:19.814000
lmd_h5_similarity
00109d1d846ee9a496d94f62a43d14c7
AR57DGB1187FB49E09
2025-08-25T07:09:19.814000
lmd_h5_similarity
00121ac5553efe4bbae24d9778442bf2
AR5FNZB1187B9ACD7D
2025-08-25T07:09:19.814000
lmd_h5_similarity
0012bf591773fa5ce90ea00792adcc59
AR426QR1187FB4546C
2025-08-25T07:09:19.814000
lmd_h5_similarity
0012c0b4e208dd6b52cfb7e84ef10622
ARQUS8G1187FB46C97
2025-08-25T07:09:19.814000
lmd_h5_similarity
00139b91b13c95451c743913bf539f55
ARH9YEM1187B9ADCBE
2025-08-25T07:09:19.814000
lmd_h5_similarity
001480085e03595939ffe7f06b12dbaa
AR86S301187B9B6BBB
2025-08-25T07:09:19.814000
lmd_h5_similarity
0014b64558bf8fd3c05a5b6483cbbfa1
ARYNVLM11E2835DFB1
2025-08-25T07:09:19.814000
lmd_h5_similarity
0014b78430adb68c0dfc7bda2df66447
ARLLANP12420780841
2025-08-25T07:09:19.814000
lmd_h5_similarity
001513f3f200f172d25da7c627f3d510
ARRLJVX12086C116F5
2025-08-25T07:09:19.814000
lmd_h5_similarity
0015a9cfa4260fd839ef886722a1c87a
AR9ALH21187FB46CA7
2025-08-25T07:09:19.814000
lmd_h5_similarity
0015b04049a01643574dcdb184f5589f
AR9FDQA1187B9ADDFC
2025-08-25T07:09:19.814000
lmd_h5
0015b069495b81fd266d3482f564c6bb
ARJLDKC125FEF32377
2025-08-25T07:09:19.814000
lmd_h5_similarity
001685d84c99288f7c0b874a61fdfc75
AR86IA71187B99550C
2025-08-25T07:09:19.814000
lmd_h5_similarity
0016db0d62466ad83286a1f4f0b6591e
ARBOGWL12454A2E22E
2025-08-25T07:09:19.814000
lmd_h5_similarity
0016e0127479dfbcb6fa3b5a1cf72ca2
AR5DHXA1187B9A7C3A
2025-08-25T07:09:19.814000
lmd_h5_similarity
0017a48f8ab1c202ed48294c6cbeb7e3
AR7DKR81187FB481F6
2025-08-25T07:09:19.814000
lmd_h5_similarity
0017be54b78a3ea2849ad3ccef40381c
AR65Q331187FB38BA7
2025-08-25T07:09:19.814000
lmd_h5
001914e786200393dbc8de48efa54746
ARAWLGT1187B9AB3ED
2025-08-25T07:09:19.814000
lmd_h5_similarity
001a2061f08aafc856e9b7f99e9ad33c
ARBHVYY12AF7DA6B9E
2025-08-25T07:09:19.814000
lmd_h5_similarity
001ab7b8857ba2adb654dc12b03be81f
ARUW7ZZ1187FB450C7
2025-08-25T07:09:19.814000
lmd_h5_similarity
001b03ea4085d3442f038903289939df
ARX22RF1187FB3BB88
2025-08-25T07:09:19.814000
lmd_h5_similarity
001b759de963eeb4382bfd42fc0cfcb7
ARQITBB1187FB52A69
2025-08-25T07:09:19.814000
lmd_h5_similarity
001b9e36f032c55f5504213f4a6fc95d
ARZRRP61187B990D4C
2025-08-25T07:09:19.814000
lmd_h5_similarity
001be3fcb54d318e7924b1426fabedac
ARH5TZS1187FB4C234
2025-08-25T07:09:19.814000
lmd_h5_similarity
001c7194dab77ab92121362fef3842b7
ARMEJWT1187FB5A1E7
2025-08-25T07:09:19.814000
lmd_h5_similarity
001c9fd43913177e913a449e164a9929
ARJ9U4O1187B9892D1
2025-08-25T07:09:19.814000
lmd_h5_similarity
001d59d83859b4d9326c39bbe3539ea3
ARBRPR71187B9A1435
2025-08-25T07:09:19.814000
lmd_h5_similarity
001da71d58f1d04c94760dfb25fe7d51
AR9GKLD1187B992749
2025-08-25T07:09:19.814000
lmd_h5_similarity
001e2b7abca418994368263378950793
ARPUXUS12454A426A3
2025-08-25T07:09:19.814000
lmd_h5_similarity
001e2e645dce260f0f7f0d5923d046fc
ARSLGGL11F4C83B1DB
2025-08-25T07:09:19.814000
lmd_h5_similarity
001f617bce3642e8a89c609eb7a8791e
ARPKL8A11A348EFA77
2025-08-25T07:09:19.814000
lmd_h5
001feb6044d2c2f02ceb4900f81a9ff6
AR3FOG71187B98F743
2025-08-25T07:09:19.814000
lmd_h5
0020dce2d945bbd2ed7a735ddb6f53ef
ARSR2P51187B9902C1
2025-08-25T07:09:19.814000
lmd_h5_similarity
002108f1d3c76d2c6b22ffd2914a6c5d
ARDDLUS1187FB5B72B
2025-08-25T07:09:19.814000
lmd_h5_similarity
00218574fb22c2fecfd6d33b76b0e4eb
ARRSICQ11F4C83D8B7
2025-08-25T07:09:19.814000
lmd_h5_similarity
0021f48a730696afdd0311182fd315d3
ARV3BXR1187B991C82
2025-08-25T07:09:19.814000
lmd_h5_similarity
00224ba2316aa6de57226d12635ab96c
AR0SZHP1187FB4AE23
2025-08-25T07:09:19.814000
lmd_h5_similarity
00228941d64eedc1494625af627801ca
ARAYFIQ1187B9A1F6E
2025-08-25T07:09:19.814000
lmd_h5_similarity
0023757e9c04e42dea9f631c71cf84b4
ARCMW5H1187B98D0A3
2025-08-25T07:09:19.814000
lmd_h5_similarity
00241d8cba74464b277d81b3ee67ccb3
ARPLUER11EB9C82AA7
2025-08-25T07:09:19.814000
lmd_h5_similarity
0024591473c078cd116d4ada45f527d5
ARK8HJQ11C8A416B51
2025-08-25T07:09:19.814000
lmd_h5_similarity
0024af72643af46fef7bd69e566b33dd
ARBACX51187B98C861
2025-08-25T07:09:19.814000
lmd_h5_similarity
0025350c5e1607c1ddcaeb782fac91e7
ARPBYJO1241B9C7BA9
2025-08-25T07:09:19.814000
lmd_h5_similarity
00255b6e3719c8f776478b848ed82dc5
AR2DKN01187FB3AA39
2025-08-25T07:09:19.814000
lmd_h5_similarity
002576e61907d1ad2f90f383550ac421
ARD1RVM1187B9A84A2
2025-08-25T07:09:19.814000
lmd_h5_similarity
0025e1cb599ccc565440f25868af99a8
ARX3F3R1187B98F137
2025-08-25T07:09:19.814000
lmd_h5_similarity
002630615ea7f8af0913ad76cc753362
ARMBD941187FB532C0
2025-08-25T07:09:19.814000
lmd_h5
0026355d8746d2465a92de3dd692ed4d
ARQEBGJ122E6447D2B
2025-08-25T07:09:19.814000
lmd_h5_similarity
00268cc7f4e49ff4a8ae63fa5b47ef41
ARBFDCF1187FB5CE95
2025-08-25T07:09:19.814000
lmd_h5_similarity
00293ca1c4a68aefc7c888bca1e6d99c
ARYLEHX1187FB47700
2025-08-25T07:09:19.814000
lmd_h5_similarity
End of preview. Expand in Data Studio

NTRC LMD Data

Code Data Docs

Check out the tables prefixed with mart_* to get started for some easy to understand and interesting data

This dataset contains an opionated, structured and lightly cleaned release of the Lakh MIDI Dataset by Colin Raffel, transformed using modern data engineering practices into a Data Vault 2.0 model.

Dataset Description

The original Lakh MIDI Dataset is a collection of 176,581 unique MIDI files, 45,129 of which have been matched and aligned to entries in the Million Song Dataset. This processed version transforms the raw data into a structured format suitable for music information retrieval research and analysis.

Key ideas in this release:

  • Structured Data Vault 2.0 model with hubs, links, and satellites
  • Bronze layer with raw extracted data in Parquet format (not part of this distribution, see https://github.com/Nintorac/ntrc_lmd to build it)
  • Silver layer with cleaned, deduplicated, and structured data
  • Gold layer with clean derormalized views ready for ML pipelines and other downstream usecases

Usage Examples

Connecting to the Remote Database

You can attach to the remote Lakh MIDI database using DuckDB and query the processed data directly:

-- Attach the remote database
ATTACH 'hf://datasets/nintorac/ntrc_lakh_midi/lakh_remote.duckdb' AS lakh_remote;

-- Sample the artist profile mart table
CREATE TABLE my_artist_sample AS 
SELECT * FROM lakh_remote.mart_artist_profile 
WHERE artist_profile_tier = 'High Profile' 
LIMIT 100;


-- Query the sample
SELECT 
    artist_name,
    total_tracks,
    avg_tempo,
    most_common_key,
    top_terms[1:3] as top_3_terms
FROM my_artist_sample
ORDER BY total_tracks DESC;

This approach allows you to fetch data from the gold layer, without having to manage the full silver layer locally. It's pretty slow though so it would be best to follow the above pattern to save a table locally before running analysis.

Data Structure

To understand the schema of the silver layer check out the schema_silver.dbml - load it in dbdiagram.io for an interactive view.

Below is a high level overview of how the tables fit together.

high level silver schema diagram

Silver Layer (silver_lakh_midi/)

Structured using Data Vault 2.0 methodology:

Hubs (Business Entities)

  • hub_track.parquet - MusicBrainz tracks
  • hub_artist.parquet - Artists (including similar artists)
  • hub_release.parquet - 7digital releases
  • hub_midi_file.parquet - MIDI files by MD5 hash
  • hub_midi_source.parquet - Source file paths
  • hub_key_signature.parquet - Musical key signatures (0-11)
  • hub_mode.parquet - Musical modes (0=minor, 1=major)

Links (Relationships)

  • link_track_midi.parquet - Track-to-MIDI matches
  • link_track_artist.parquet - Track-to-artist relationships
  • link_track_release.parquet - Track-to-release relationships
  • link_artist_similar.parquet - Artist similarity relationships
  • link_midi_source.parquet - MIDI-to-source path mappings

Satellites (Descriptive Data)

  • sat_track/ - Track details, audio analysis, and time-series arrays (partitioned)
  • sat_artist.parquet - Artist metadata and location info
  • sat_release.parquet - Release information
  • sat_midi_file/ - MIDI file content and size (partitioned)
  • sat_match_scores.parquet - Match quality scores
  • sat_artist_similarity.parquet - Similarity rankings
  • sat_artist_terms.parquet - Echo Nest artist terms
  • sat_artist_mbtags.parquet - MusicBrainz tags
  • sat_key_signature.parquet - Human-readable key signature names
  • sat_mode.parquet - Human-readable mode names

Data Quality Features

  • Deduplication: Consistent handling of duplicate entities
  • Referential Integrity: All foreign keys reference valid parents
  • Partitioned Storage: Large tables partitioned by hash key prefix for scalable processing
  • Comprehensive Testing: Data quality tests ensure consistency and completeness

Technical Details

  • Format: Apache Parquet with snappy compression
  • Schema: Data Vault 2.0 with hash keys for scalable joins
  • Processing: Built with dlt, dbt, and DuckDB
  • Partitioning: Large tables partitioned by first character of hash keys (0-9, a-f)

Original Dataset Information

This processed dataset is based on the Lakh MIDI Dataset, which contains:

  • 176,581 unique MIDI files from LMD-full
  • 45,129 matched files aligned to Million Song Dataset entries
  • Audio analysis features from Echo Nest
  • Artist metadata including MusicBrainz tags and similarity data

Citations & License

License

This dataset is distributed under the CC-BY 4.0 license, following the original Lakh MIDI Dataset license.

Required Citations

If you use this dataset, please cite the original Lakh MIDI Dataset:

@phdthesis{raffel2016learning,
  title={Learning-Based Methods for Comparing Sequences, with Applications to Audio-to-MIDI Alignment and Matching},
  author={Raffel, Colin},
  year={2016},
  school={Columbia University}
}

For the Million Song Dataset metadata, please also cite:

@inproceedings{bertin2011million,
  title={The Million Song Dataset},
  author={Bertin-Mahieux, Thierry and Ellis, Daniel PW and Whitman, Brian and Lamere, Paul},
  booktitle={Proceedings of the 12th International Society for Music Information Retrieval Conference},
  pages={591--596},
  year={2011}
}

Attribution Note

The original MIDI files were scraped from publicly-available sources on the internet and de-duplicated by Colin Raffel. While MIDI files have a built-in mechanism for attribution (the Copyright meta-event), it is not used consistently, so attributing each individual MIDI file to a particular author is not feasible.

Processing Pipeline

This dataset was processed using:

  • dlt for data extraction from unstructured files
  • dbt for data transformation and testing
  • DuckDB as the analytics database engine
  • Data Vault 2.0 methodology for scalable data modeling

For more information about the processing pipeline, see the project repository.

Resources

Downloads last month
361