Datasets:
admin commited on
Commit ·
018dc56
1
Parent(s): 3ee153c
upd md
Browse files- .gitignore +0 -1
- README.md +9 -26
.gitignore
CHANGED
|
@@ -1,3 +1,2 @@
|
|
| 1 |
-
rename.sh
|
| 2 |
test.*
|
| 3 |
*__pycache__*
|
|
|
|
|
|
|
| 1 |
test.*
|
| 2 |
*__pycache__*
|
README.md
CHANGED
|
@@ -114,7 +114,7 @@ This dataset was created and has been utilized for Erhu playing technique detect
|
|
| 114 |
## Integration
|
| 115 |
We first perform label cleaning to abandon the labels for the four and seven categories, since there are also missing data problems. This process leaves us with only the labels for the 11 categories. Then, we add Chinese character label and Chinese pinyin label to enhance comprehensibility. The 11 labels are: Detache (分弓), Diangong (垫弓), Harmonic (泛音), Legato\slide\glissando (连弓\滑音\连音), Percussive (击弓), Pizzicato (拨弦), Ricochet (抛弓), Staccato (断弓), Tremolo (震音), Trill (颤音), and Vibrato (揉弦). After integration, the data structure contains six columns: audio (with a sampling rate of 44,100 Hz), mel spectrograms, numeric label, Italian label, Chinese character label, and Chinese pinyin label. The total number of audio clips remains at 1,253, with a total duration of 25.81 minutes. The average duration is 1.24 seconds.
|
| 116 |
|
| 117 |
-
We constructed the [default subset](#
|
| 118 |
|
| 119 |
## Statistics
|
| 120 |
|  |  |  |
|
|
@@ -208,34 +208,17 @@ Erhu Playing Technique Classification
|
|
| 208 |
Chinese, English
|
| 209 |
|
| 210 |
## Usage
|
| 211 |
-
### Default Subset
|
| 212 |
```python
|
| 213 |
from datasets import load_dataset
|
| 214 |
|
| 215 |
-
ds = load_dataset(
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
print(item)
|
| 224 |
-
```
|
| 225 |
-
|
| 226 |
-
### Eval Subset
|
| 227 |
-
```python
|
| 228 |
-
from datasets import load_dataset
|
| 229 |
-
|
| 230 |
-
dataset = load_dataset("ccmusic-database/erhu_playing_tech", name="eval")
|
| 231 |
-
for item in ds["train"]:
|
| 232 |
-
print(item)
|
| 233 |
-
|
| 234 |
-
for item in ds["validation"]:
|
| 235 |
-
print(item)
|
| 236 |
-
|
| 237 |
-
for item in ds["test"]:
|
| 238 |
-
print(item)
|
| 239 |
```
|
| 240 |
|
| 241 |
## Maintenance
|
|
|
|
| 114 |
## Integration
|
| 115 |
We first perform label cleaning to abandon the labels for the four and seven categories, since there are also missing data problems. This process leaves us with only the labels for the 11 categories. Then, we add Chinese character label and Chinese pinyin label to enhance comprehensibility. The 11 labels are: Detache (分弓), Diangong (垫弓), Harmonic (泛音), Legato\slide\glissando (连弓\滑音\连音), Percussive (击弓), Pizzicato (拨弦), Ricochet (抛弓), Staccato (断弓), Tremolo (震音), Trill (颤音), and Vibrato (揉弦). After integration, the data structure contains six columns: audio (with a sampling rate of 44,100 Hz), mel spectrograms, numeric label, Italian label, Chinese character label, and Chinese pinyin label. The total number of audio clips remains at 1,253, with a total duration of 25.81 minutes. The average duration is 1.24 seconds.
|
| 116 |
|
| 117 |
+
We constructed the [default subset](#usage) of the current integrated version dataset based on its 11 classification data and optimized the names of the 11 categories. The data structure can be seen in the [viewer](https://huggingface.co/datasets/ccmusic-database/erhu_playing_tech/viewer). Although the original dataset has been cited in some articles, the experiments in those articles lack reproducibility. In order to demonstrate the effectiveness of the default subset, we further processed the data and constructed the [eval subset](#usage) to supplement the evaluation of this integrated version dataset. The results of the evaluation can be viewed in [[2]](https://huggingface.co/ccmusic-database/erhu_playing_tech).
|
| 118 |
|
| 119 |
## Statistics
|
| 120 |
|  |  |  |
|
|
|
|
| 208 |
Chinese, English
|
| 209 |
|
| 210 |
## Usage
|
|
|
|
| 211 |
```python
|
| 212 |
from datasets import load_dataset
|
| 213 |
|
| 214 |
+
ds = load_dataset(
|
| 215 |
+
"ccmusic-database/erhu_playing_tech",
|
| 216 |
+
name="default", # default / eval
|
| 217 |
+
split="train", # train / validation / test
|
| 218 |
+
cache_dir="./__pycache__",
|
| 219 |
+
)
|
| 220 |
+
for i in ds:
|
| 221 |
+
print(i)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 222 |
```
|
| 223 |
|
| 224 |
## Maintenance
|