monetjoe commited on
Commit
6452d56
1 Parent(s): ed3400b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -57
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- license: mit
3
  task_categories:
4
  - audio-classification
5
  - image-classification
@@ -22,7 +22,7 @@ The raw dataset comprises approximately 1,700 musical pieces in .mp3 format, sou
22
  - **Homepage:** <https://ccmusic-database.github.io>
23
  - **Repository:** <https://huggingface.co/datasets/ccmusic-database/music_genre>
24
  - **Paper:** <https://doi.org/10.5281/zenodo.5676893>
25
- - **Leaderboard:** <https://www.modelscope.cn/datasets/ccmusic/music_genre>
26
  - **Point of Contact:** <https://huggingface.co/ccmusic-database/music_genre>
27
 
28
  ### Dataset Summary
@@ -41,11 +41,11 @@ cd music_genre
41
  ```
42
 
43
  ## Usage
44
- ### Eval Subset
45
  ```python
46
  from datasets import load_dataset
47
 
48
- dataset = load_dataset("ccmusic-database/music_genre", name="eval")
49
  for item in ds["train"]:
50
  print(item)
51
 
@@ -54,13 +54,13 @@ for item in ds["validation"]:
54
 
55
  for item in ds["test"]:
56
  print(item)
57
- ```
58
 
59
- ### Raw Subset
60
  ```python
61
  from datasets import load_dataset
62
 
63
- dataset = load_dataset("ccmusic-database/music_genre", name="default")
64
  for item in ds["train"]:
65
  print(item)
66
 
@@ -69,32 +69,32 @@ for item in ds["validation"]:
69
 
70
  for item in ds["test"]:
71
  print(item)
72
- ```
73
 
74
  ## Dataset Structure
75
- ### Eval Subset
76
  <style>
77
- #genres td {
78
  vertical-align: middle !important;
79
  text-align: center;
80
  }
81
- #genres th {
82
  text-align: center;
83
  }
84
  </style>
85
- <table id="genres">
 
 
86
  <tr>
87
- <td>mel(.jpg, 11.4s, 48000Hz)</td>
88
- <td>cqt(.jpg, 11.4s, 48000Hz)</td>
89
- <td>chroma(.jpg, 11.4s, 48000Hz)</td>
90
- <td>fst_level_label(2-class)</td>
91
- <td>sec_level_label(9-class)</td>
92
- <td>thr_level_label(16-class)</td>
93
  </tr>
94
  <tr>
95
- <td><img src="./data/PqdpQP__ls-xo6lz93Q4y.jpeg"></td>
96
- <td><img src="./data/EZfYLng40hh_FUudB9vvx.jpeg"></td>
97
- <td><img src="./data/zviZ-rEKAvBCVFvKFml4R.jpeg"></td>
98
  <td>1_Classic / 2_Non_classic</td>
99
  <td>3_Symphony / 4_Opera / 5_Solo / 6_Chamber / 7_Pop / 8_Dance_and_house / 9_Indie / 10_Soul_or_r_and_b / 11_Rock</td>
100
  <td>3_Symphony / 4_Opera / 5_Solo / 6_Chamber / 12_Pop_vocal_ballad / 13_Adult_contemporary / 14_Teen_pop / 15_Contemporary_dance_pop / 16_Dance_pop / 17_Classic_indie_pop / 18_Chamber_cabaret_and_art_pop / 10_Soul_or_r_and_b / 19_Adult_alternative_rock / 20_Uplifting_anthemic_rock / 21_Soft_rock / 22_Acoustic_pop</td>
@@ -105,22 +105,23 @@ for item in ds["test"]:
105
  <td>...</td>
106
  <td>...</td>
107
  <td>...</td>
108
- <td>...</td>
109
  </tr>
110
  </table>
111
 
112
- ### Raw Subset
113
- <table>
114
  <tr>
115
- <th>audio(.wav, 22050Hz)</th>
116
- <th>mel(spectrogram, .jpg, 22050Hz)</th>
117
- <th>fst_level_label(2-class)</th>
118
- <th>sec_level_label(9-class)</th>
119
- <th>thr_level_label(16-class)</th>
 
120
  </tr>
121
  <tr>
122
- <td><audio controls src="https://huggingface.co/datasets/ccmusic-database/music_genre/resolve/main/data/8bb58041d6b9d35db688bcedfde0fe39.mp3"></audio></td>
123
- <td><img src="./data/8bb58041d6b9d35db688bcedfde0fe39.jpg"></td>
 
124
  <td>1_Classic / 2_Non_classic</td>
125
  <td>3_Symphony / 4_Opera / 5_Solo / 6_Chamber / 7_Pop / 8_Dance_and_house / 9_Indie / 10_Soul_or_r_and_b / 11_Rock</td>
126
  <td>3_Symphony / 4_Opera / 5_Solo / 6_Chamber / 12_Pop_vocal_ballad / 13_Adult_contemporary / 14_Teen_pop / 15_Contemporary_dance_pop / 16_Dance_pop / 17_Classic_indie_pop / 18_Chamber_cabaret_and_art_pop / 10_Soul_or_r_and_b / 19_Adult_alternative_rock / 20_Uplifting_anthemic_rock / 21_Soft_rock / 22_Acoustic_pop</td>
@@ -131,6 +132,7 @@ for item in ds["test"]:
131
  <td>...</td>
132
  <td>...</td>
133
  <td>...</td>
 
134
  </tr>
135
  </table>
136
 
@@ -159,7 +161,7 @@ for item in ds["test"]:
159
  17_Classic_indie_pop
160
  18_Chamber_cabaret_and_art_pop
161
 
162
- 10_Soul_or_r_and_b
163
 
164
  11_Rock
165
  19_Adult_alternative_rock
@@ -214,31 +216,6 @@ Zijin Li
214
  ### Evaluation
215
  <https://huggingface.co/ccmusic-database/music_genre/tree/main>
216
 
217
- ### Licensing Information
218
- ```
219
- MIT License
220
-
221
- Copyright (c) CCMUSIC
222
-
223
- Permission is hereby granted, free of charge, to any person obtaining a copy
224
- of this software and associated documentation files (the "Software"), to deal
225
- in the Software without restriction, including without limitation the rights
226
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
227
- copies of the Software, and to permit persons to whom the Software is
228
- furnished to do so, subject to the following conditions:
229
-
230
- The above copyright notice and this permission notice shall be included in all
231
- copies or substantial portions of the Software.
232
-
233
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
234
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
235
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
236
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
237
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
238
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
239
- SOFTWARE.
240
- ```
241
-
242
  ### Citation Information
243
  ```bibtex
244
  @dataset{zhaorui_liu_2021_5676893,
 
1
  ---
2
+ license: cc-by-nc-nd-4.0
3
  task_categories:
4
  - audio-classification
5
  - image-classification
 
22
  - **Homepage:** <https://ccmusic-database.github.io>
23
  - **Repository:** <https://huggingface.co/datasets/ccmusic-database/music_genre>
24
  - **Paper:** <https://doi.org/10.5281/zenodo.5676893>
25
+ - **Leaderboard:** <https://www.modelscope.cn/datasets/ccmusic-database/music_genre>
26
  - **Point of Contact:** <https://huggingface.co/ccmusic-database/music_genre>
27
 
28
  ### Dataset Summary
 
41
  ```
42
 
43
  ## Usage
44
+ ### Raw Subset
45
  ```python
46
  from datasets import load_dataset
47
 
48
+ dataset = load_dataset("ccmusic-database/music_genre", name="default")
49
  for item in ds["train"]:
50
  print(item)
51
 
 
54
 
55
  for item in ds["test"]:
56
  print(item)
57
+ ```
58
 
59
+ ### Eval Subset
60
  ```python
61
  from datasets import load_dataset
62
 
63
+ dataset = load_dataset("ccmusic-database/music_genre", name="eval")
64
  for item in ds["train"]:
65
  print(item)
66
 
 
69
 
70
  for item in ds["test"]:
71
  print(item)
72
+ ```
73
 
74
  ## Dataset Structure
75
+
76
  <style>
77
+ .genres td {
78
  vertical-align: middle !important;
79
  text-align: center;
80
  }
81
+ .genres th {
82
  text-align: center;
83
  }
84
  </style>
85
+
86
+ ### Raw Subset
87
+ <table class="genres">
88
  <tr>
89
+ <th>audio(.wav, 22050Hz)</th>
90
+ <th>mel(spectrogram, .jpg, 22050Hz)</th>
91
+ <th>fst_level_label(2-class)</th>
92
+ <th>sec_level_label(9-class)</th>
93
+ <th>thr_level_label(16-class)</th>
 
94
  </tr>
95
  <tr>
96
+ <td><audio controls src="https://huggingface.co/datasets/ccmusic-database/music_genre/resolve/main/data/8bb58041d6b9d35db688bcedfde0fe39.mp3"></audio></td>
97
+ <td><img src="./data/8bb58041d6b9d35db688bcedfde0fe39.jpg"></td>
 
98
  <td>1_Classic / 2_Non_classic</td>
99
  <td>3_Symphony / 4_Opera / 5_Solo / 6_Chamber / 7_Pop / 8_Dance_and_house / 9_Indie / 10_Soul_or_r_and_b / 11_Rock</td>
100
  <td>3_Symphony / 4_Opera / 5_Solo / 6_Chamber / 12_Pop_vocal_ballad / 13_Adult_contemporary / 14_Teen_pop / 15_Contemporary_dance_pop / 16_Dance_pop / 17_Classic_indie_pop / 18_Chamber_cabaret_and_art_pop / 10_Soul_or_r_and_b / 19_Adult_alternative_rock / 20_Uplifting_anthemic_rock / 21_Soft_rock / 22_Acoustic_pop</td>
 
105
  <td>...</td>
106
  <td>...</td>
107
  <td>...</td>
 
108
  </tr>
109
  </table>
110
 
111
+ ### Eval Subset
112
+ <table class="genres">
113
  <tr>
114
+ <td>mel(.jpg, 11.4s, 48000Hz)</td>
115
+ <td>cqt(.jpg, 11.4s, 48000Hz)</td>
116
+ <td>chroma(.jpg, 11.4s, 48000Hz)</td>
117
+ <td>fst_level_label(2-class)</td>
118
+ <td>sec_level_label(9-class)</td>
119
+ <td>thr_level_label(16-class)</td>
120
  </tr>
121
  <tr>
122
+ <td><img src="./data/PqdpQP__ls-xo6lz93Q4y.jpeg"></td>
123
+ <td><img src="./data/EZfYLng40hh_FUudB9vvx.jpeg"></td>
124
+ <td><img src="./data/zviZ-rEKAvBCVFvKFml4R.jpeg"></td>
125
  <td>1_Classic / 2_Non_classic</td>
126
  <td>3_Symphony / 4_Opera / 5_Solo / 6_Chamber / 7_Pop / 8_Dance_and_house / 9_Indie / 10_Soul_or_r_and_b / 11_Rock</td>
127
  <td>3_Symphony / 4_Opera / 5_Solo / 6_Chamber / 12_Pop_vocal_ballad / 13_Adult_contemporary / 14_Teen_pop / 15_Contemporary_dance_pop / 16_Dance_pop / 17_Classic_indie_pop / 18_Chamber_cabaret_and_art_pop / 10_Soul_or_r_and_b / 19_Adult_alternative_rock / 20_Uplifting_anthemic_rock / 21_Soft_rock / 22_Acoustic_pop</td>
 
132
  <td>...</td>
133
  <td>...</td>
134
  <td>...</td>
135
+ <td>...</td>
136
  </tr>
137
  </table>
138
 
 
161
  17_Classic_indie_pop
162
  18_Chamber_cabaret_and_art_pop
163
 
164
+ 10_Soul_or_RnB
165
 
166
  11_Rock
167
  19_Adult_alternative_rock
 
216
  ### Evaluation
217
  <https://huggingface.co/ccmusic-database/music_genre/tree/main>
218
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  ### Citation Information
220
  ```bibtex
221
  @dataset{zhaorui_liu_2021_5676893,