manish-infraxai commited on
Commit
9301004
·
verified ·
1 Parent(s): 5e087a3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +50 -169
README.md CHANGED
@@ -20,132 +20,15 @@ size_categories:
20
  configs:
21
  - config_name: tracks
22
  data_files: "tracks/train-*.parquet"
23
- description: "18.3M electronic music tracks with artist, genre, label, year"
24
  - config_name: artists
25
  data_files: "artists/train-*.parquet"
26
- description: "1.4M electronic music artists with genres, labels, country"
27
  - config_name: labels
28
  data_files: "labels/train-*.parquet"
29
- description: "353K record labels with genres and country"
30
  - config_name: genres
31
  data_files: "genres/train-*.parquet"
32
- description: "832 electronic music genres from Ishkur + Discogs"
33
  - config_name: genre_graph
34
  data_files: "genre_graph/train-*.parquet"
35
- description: "352 genre evolution relationships with time ranges"
36
  default_config_name: tracks
37
- dataset_info:
38
- - config_name: tracks
39
- features:
40
- - name: id
41
- dtype: string
42
- - name: title
43
- dtype: string
44
- - name: artist_name
45
- dtype: string
46
- - name: discogs_artist_id
47
- dtype: string
48
- - name: discogs_release_id
49
- dtype: string
50
- - name: subgenre
51
- dtype: string
52
- - name: styles_json
53
- dtype: string
54
- - name: label
55
- dtype: string
56
- - name: discogs_label_id
57
- dtype: string
58
- - name: country
59
- dtype: string
60
- - name: year
61
- dtype: int32
62
- - name: search_query
63
- dtype: string
64
- - name: source
65
- dtype: string
66
- splits:
67
- - name: train
68
- num_examples: 18315675
69
- - config_name: artists
70
- features:
71
- - name: id
72
- dtype: string
73
- - name: name
74
- dtype: string
75
- - name: discogs_artist_id
76
- dtype: string
77
- - name: primary_genres
78
- dtype: string
79
- - name: labels
80
- dtype: string
81
- - name: country
82
- dtype: string
83
- - name: active_since
84
- dtype: int32
85
- - name: track_count
86
- dtype: int32
87
- - name: source
88
- dtype: string
89
- splits:
90
- - name: train
91
- num_examples: 1424582
92
- - config_name: labels
93
- features:
94
- - name: id
95
- dtype: string
96
- - name: name
97
- dtype: string
98
- - name: discogs_label_id
99
- dtype: string
100
- - name: primary_genres
101
- dtype: string
102
- - name: country
103
- dtype: string
104
- - name: founded_year
105
- dtype: int32
106
- - name: source
107
- dtype: string
108
- splits:
109
- - name: train
110
- num_examples: 352984
111
- - config_name: genres
112
- features:
113
- - name: id
114
- dtype: string
115
- - name: name
116
- dtype: string
117
- - name: scene
118
- dtype: string
119
- - name: emerged_era
120
- dtype: string
121
- - name: bpm_low
122
- dtype: int32
123
- - name: bpm_high
124
- dtype: int32
125
- - name: energy_typical
126
- dtype: int32
127
- - name: aliases
128
- dtype: string
129
- - name: source
130
- dtype: string
131
- splits:
132
- - name: train
133
- num_examples: 832
134
- - config_name: genre_graph
135
- features:
136
- - name: source_genre
137
- dtype: string
138
- - name: target_genre
139
- dtype: string
140
- - name: start_year
141
- dtype: int32
142
- - name: end_year
143
- dtype: int32
144
- - name: source
145
- dtype: string
146
- splits:
147
- - name: train
148
- num_examples: 352
149
  ---
150
 
151
  # Electronic Music Knowledge
@@ -164,61 +47,43 @@ Built for [DJ Treta](https://dj.treta.life) — an autonomous AI DJ — but usef
164
  | `genres` | 832 | Electronic genre taxonomy from Ishkur's Guide + Discogs (166 with BPM ranges) |
165
  | `genre_graph` | 352 | Genre evolution relationships with time ranges |
166
 
167
- ## Usage
168
 
169
  ```python
170
  from datasets import load_dataset
171
 
172
- # Load tracks (default)
173
- tracks = load_dataset("NaturNestAI/electronic-music-knowledge", "tracks")
174
-
175
- # Load artists
176
- artists = load_dataset("NaturNestAI/electronic-music-knowledge", "artists")
177
-
178
- # Load genre taxonomy
179
- genres = load_dataset("NaturNestAI/electronic-music-knowledge", "genres")
180
-
181
- # Load genre evolution graph
182
- graph = load_dataset("NaturNestAI/electronic-music-knowledge", "genre_graph")
183
 
184
- # Load labels
185
- labels = load_dataset("NaturNestAI/electronic-music-knowledge", "labels")
 
 
 
186
  ```
187
 
188
- ### Example: Find melodic techno tracks
189
 
 
190
  ```python
191
  tracks = load_dataset("NaturNestAI/electronic-music-knowledge", "tracks", split="train")
192
  melodic = tracks.filter(lambda x: x["subgenre"] == "Melodic House & Techno")
193
- print(f"Found {len(melodic)} melodic techno tracks")
194
- print(melodic[0]) # {'title': '...', 'artist_name': '...', 'label': '...', ...}
195
  ```
196
 
197
- ### Example: Find artists on Drumcode label
198
-
199
  ```python
200
  artists = load_dataset("NaturNestAI/electronic-music-knowledge", "artists", split="train")
201
- drumcode = artists.filter(lambda x: x["labels"] and "Drumcode" in x["labels"])
202
- print(f"Drumcode artists: {len(drumcode)}")
203
  ```
204
 
205
- ### Example: Genre evolution graph
206
-
207
  ```python
208
  graph = load_dataset("NaturNestAI/electronic-music-knowledge", "genre_graph", split="train")
209
- # What influenced Melodic Techno?
210
  influences = graph.filter(lambda x: x["target_genre"] == "melodictechno")
211
- for row in influences:
212
- print(f"{row['source_genre']} → melodictechno ({row['start_year']}-{row['end_year']})")
213
  ```
214
 
215
- ## Data Sources
216
-
217
- | Source | License | What it provides |
218
- |--------|---------|-----------------|
219
- | [Discogs Data Dump](https://data.discogs.com/) (April 2026) | CC0 1.0 | 4.9M electronic releases → tracks, artists, labels, 666 styles |
220
- | [Ishkur's Guide to Electronic Music v3](https://github.com/igorbrigadir/ishkurs-guide-dataset) | Open | 166 genre taxonomy with BPM ranges, 11K representative tracks, evolution graph |
221
-
222
  ## Schema
223
 
224
  ### tracks
@@ -230,21 +95,20 @@ for row in influences:
230
  | `discogs_artist_id` | string | Discogs artist ID |
231
  | `discogs_release_id` | string | Discogs release ID |
232
  | `subgenre` | string | Primary Discogs style (e.g., "Melodic House & Techno") |
233
- | `styles_json` | string | JSON array of all styles |
234
  | `label` | string | Record label name |
235
- | `discogs_label_id` | string | Discogs label ID |
236
  | `country` | string | Release country |
237
  | `year` | int | Release year |
238
- | `search_query` | string | Pre-computed "Artist - Title" for music search |
239
  | `source` | string | Data source ("discogs" or "ishkur") |
240
 
241
  ### artists
242
  | Column | Type | Description |
243
  |--------|------|-------------|
244
- | `id` | string | Unique artist ID ("discogs:12345") |
245
  | `name` | string | Artist name |
246
  | `primary_genres` | string | Primary genre/style |
247
- | `labels` | string | First known label |
248
  | `country` | string | Country of origin |
249
  | `active_since` | int | Year of earliest release |
250
  | `track_count` | int | Number of tracks in dataset |
@@ -255,34 +119,51 @@ for row in influences:
255
  | `id` | string | Genre slug |
256
  | `name` | string | Genre name |
257
  | `scene` | string | Ishkur scene grouping (House, Techno, Trance, etc.) |
258
- | `bpm_low` | int | Typical BPM range - low end |
259
- | `bpm_high` | int | Typical BPM range - high end |
260
  | `energy_typical` | int | Typical energy level (1-10) |
261
  | `aliases` | string | Alternative genre names |
262
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
263
  ## Planned Enrichment (v2)
264
 
265
- - BPM and key data from AcousticBrainz (29.5M pre-computed audio features, CC0)
266
- - Artist similarity graph (label co-occurrence + genre overlap)
267
  - MusicBrainz cross-reference IDs
268
- - Beatport Top 100 ground truth (BPM, key, energy)
269
- - GiantSteps ground truth (BPM, key for 1,268 EDM tracks)
270
- - DJ set transition data from mir-aidj
271
 
272
- ## Built With
273
 
274
- - Pipeline: [VeltriaAI/music-intelligence](https://github.com/VeltriaAI/music-intelligence)
275
- - Tools: Python, Polars, lxml (streaming XML parser)
276
- - Extensible adapter architecture — add new data sources by dropping a file
277
 
278
  ## Citation
279
 
280
  ```bibtex
281
  @dataset{electronic_music_knowledge_2026,
282
- title={Electronic Music Knowledge: A Comprehensive Metadata Dataset for Electronic Music},
283
  author={NaturNest AI},
284
  year={2026},
285
- publisher={Hugging Face},
286
  url={https://huggingface.co/datasets/NaturNestAI/electronic-music-knowledge},
287
  license={CC0-1.0}
288
  }
@@ -290,4 +171,4 @@ for row in influences:
290
 
291
  ## License
292
 
293
- CC0 1.0 Universal — No Rights Reserved. All source data is CC0 (Discogs) or openly licensed (Ishkur).
 
20
  configs:
21
  - config_name: tracks
22
  data_files: "tracks/train-*.parquet"
 
23
  - config_name: artists
24
  data_files: "artists/train-*.parquet"
 
25
  - config_name: labels
26
  data_files: "labels/train-*.parquet"
 
27
  - config_name: genres
28
  data_files: "genres/train-*.parquet"
 
29
  - config_name: genre_graph
30
  data_files: "genre_graph/train-*.parquet"
 
31
  default_config_name: tracks
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  ---
33
 
34
  # Electronic Music Knowledge
 
47
  | `genres` | 832 | Electronic genre taxonomy from Ishkur's Guide + Discogs (166 with BPM ranges) |
48
  | `genre_graph` | 352 | Genre evolution relationships with time ranges |
49
 
50
+ ## Quick Start
51
 
52
  ```python
53
  from datasets import load_dataset
54
 
55
+ # Load tracks (default config)
56
+ tracks = load_dataset("NaturNestAI/electronic-music-knowledge", "tracks", split="train")
 
 
 
 
 
 
 
 
 
57
 
58
+ # Load other configs
59
+ artists = load_dataset("NaturNestAI/electronic-music-knowledge", "artists", split="train")
60
+ genres = load_dataset("NaturNestAI/electronic-music-knowledge", "genres", split="train")
61
+ labels = load_dataset("NaturNestAI/electronic-music-knowledge", "labels", split="train")
62
+ graph = load_dataset("NaturNestAI/electronic-music-knowledge", "genre_graph", split="train")
63
  ```
64
 
65
+ ## Examples
66
 
67
+ ### Find melodic techno tracks
68
  ```python
69
  tracks = load_dataset("NaturNestAI/electronic-music-knowledge", "tracks", split="train")
70
  melodic = tracks.filter(lambda x: x["subgenre"] == "Melodic House & Techno")
71
+ print(f"{len(melodic)} melodic techno tracks")
 
72
  ```
73
 
74
+ ### Find artists on a label
 
75
  ```python
76
  artists = load_dataset("NaturNestAI/electronic-music-knowledge", "artists", split="train")
77
+ drumcode = artists.filter(lambda x: x["labels"] and "Drumcode" in str(x["labels"]))
 
78
  ```
79
 
80
+ ### Genre evolution graph
 
81
  ```python
82
  graph = load_dataset("NaturNestAI/electronic-music-knowledge", "genre_graph", split="train")
83
+ # What influenced a genre?
84
  influences = graph.filter(lambda x: x["target_genre"] == "melodictechno")
 
 
85
  ```
86
 
 
 
 
 
 
 
 
87
  ## Schema
88
 
89
  ### tracks
 
95
  | `discogs_artist_id` | string | Discogs artist ID |
96
  | `discogs_release_id` | string | Discogs release ID |
97
  | `subgenre` | string | Primary Discogs style (e.g., "Melodic House & Techno") |
98
+ | `styles_json` | string | JSON array of all Discogs styles |
99
  | `label` | string | Record label name |
 
100
  | `country` | string | Release country |
101
  | `year` | int | Release year |
102
+ | `search_query` | string | Pre-computed "Artist - Title" for YouTube/music search |
103
  | `source` | string | Data source ("discogs" or "ishkur") |
104
 
105
  ### artists
106
  | Column | Type | Description |
107
  |--------|------|-------------|
108
+ | `id` | string | "discogs:{artist_id}" |
109
  | `name` | string | Artist name |
110
  | `primary_genres` | string | Primary genre/style |
111
+ | `labels` | string | Known label |
112
  | `country` | string | Country of origin |
113
  | `active_since` | int | Year of earliest release |
114
  | `track_count` | int | Number of tracks in dataset |
 
119
  | `id` | string | Genre slug |
120
  | `name` | string | Genre name |
121
  | `scene` | string | Ishkur scene grouping (House, Techno, Trance, etc.) |
122
+ | `bpm_low` / `bpm_high` | int | Typical BPM range |
 
123
  | `energy_typical` | int | Typical energy level (1-10) |
124
  | `aliases` | string | Alternative genre names |
125
 
126
+ ### labels
127
+ | Column | Type | Description |
128
+ |--------|------|-------------|
129
+ | `id` | string | "discogs:{label_id}" |
130
+ | `name` | string | Label name |
131
+ | `primary_genres` | string | Primary genre |
132
+ | `country` | string | Country |
133
+ | `founded_year` | int | Year of earliest release |
134
+
135
+ ### genre_graph
136
+ | Column | Type | Description |
137
+ |--------|------|-------------|
138
+ | `source_genre` | string | Genre that influenced |
139
+ | `target_genre` | string | Genre that was influenced |
140
+ | `start_year` / `end_year` | int | Time range of influence |
141
+
142
+ ## Data Sources
143
+
144
+ | Source | License | Contribution |
145
+ |--------|---------|-------------|
146
+ | [Discogs Data Dump](https://data.discogs.com/) (April 2026) | CC0 1.0 | 4.9M electronic releases, 1.4M artists, 353K labels, 666 styles |
147
+ | [Ishkur's Guide to Electronic Music v3](https://github.com/igorbrigadir/ishkurs-guide-dataset) | Open | 166 genre taxonomy with BPM ranges, 11K tracks, evolution graph |
148
+
149
  ## Planned Enrichment (v2)
150
 
151
+ - BPM and musical key from AcousticBrainz (29.5M tracks, CC0)
152
+ - Artist similarity graph
153
  - MusicBrainz cross-reference IDs
154
+ - DJ set transition data
 
 
155
 
156
+ ## Pipeline
157
 
158
+ Built with [VeltriaAI/music-intelligence](https://github.com/VeltriaAI/music-intelligence) — extensible source adapter architecture. Add new data sources by dropping a Python file.
 
 
159
 
160
  ## Citation
161
 
162
  ```bibtex
163
  @dataset{electronic_music_knowledge_2026,
164
+ title={Electronic Music Knowledge},
165
  author={NaturNest AI},
166
  year={2026},
 
167
  url={https://huggingface.co/datasets/NaturNestAI/electronic-music-knowledge},
168
  license={CC0-1.0}
169
  }
 
171
 
172
  ## License
173
 
174
+ CC0 1.0 Universal — No Rights Reserved.