Datasets:
admin commited on
Commit ·
092a6f8
1
Parent(s): 5c9a61e
upd md
Browse files- .gitignore +0 -1
- README.md +9 -23
.gitignore
CHANGED
|
@@ -1,3 +1,2 @@
|
|
| 1 |
-
rename.sh
|
| 2 |
test.*
|
| 3 |
*__pycache__*
|
|
|
|
|
|
|
| 1 |
test.*
|
| 2 |
*__pycache__*
|
README.md
CHANGED
|
@@ -105,7 +105,7 @@ The clips are annotated in eight categories, with a Chinese pinyin and Chinese c
|
|
| 105 |
## Integration
|
| 106 |
In the original dataset, the labels were represented by folder names, which provided Italian and Chinese pinyin labels. During the integration process, we added the corresponding Chinese character labels to ensure comprehensiveness. Lastly, after integration, the data structure has six columns: audio clip sampled at a rate of 44,100 Hz, mel spectrogram, numerical label, Italian label, Chinese character label, and Chinese pinyin label. The data number after integration remains at 2,824 with a total duration of 63.98 minutes. The average duration is 1.36 seconds.
|
| 107 |
|
| 108 |
-
Based on the aforementioned original dataset, we conducted data processing to construct the [default subset](#
|
| 109 |
|
| 110 |
## Data Structure
|
| 111 |
<https://huggingface.co/datasets/ccmusic-database/GZ_IsoTech/viewer>
|
|
@@ -144,31 +144,17 @@ MIR, audio classification, Guzheng playing technique classification
|
|
| 144 |
Chinese, English
|
| 145 |
|
| 146 |
## Usage
|
| 147 |
-
### Default subset
|
| 148 |
```python
|
| 149 |
from datasets import load_dataset
|
| 150 |
|
| 151 |
-
ds = load_dataset(
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
### Eval subset
|
| 160 |
-
```python
|
| 161 |
-
from datasets import load_dataset
|
| 162 |
-
|
| 163 |
-
ds = load_dataset("ccmusic-database/GZ_IsoTech", name="eval")
|
| 164 |
-
for item in ds["train"]:
|
| 165 |
-
print(item)
|
| 166 |
-
|
| 167 |
-
for item in ds["validation"]:
|
| 168 |
-
print(item)
|
| 169 |
-
|
| 170 |
-
for item in ds["test"]:
|
| 171 |
-
print(item)
|
| 172 |
```
|
| 173 |
|
| 174 |
## Maintenance
|
|
|
|
| 105 |
## Integration
|
| 106 |
In the original dataset, the labels were represented by folder names, which provided Italian and Chinese pinyin labels. During the integration process, we added the corresponding Chinese character labels to ensure comprehensiveness. Lastly, after integration, the data structure has six columns: audio clip sampled at a rate of 44,100 Hz, mel spectrogram, numerical label, Italian label, Chinese character label, and Chinese pinyin label. The data number after integration remains at 2,824 with a total duration of 63.98 minutes. The average duration is 1.36 seconds.
|
| 107 |
|
| 108 |
+
Based on the aforementioned original dataset, we conducted data processing to construct the [default subset](#usage) of the current integrated version of the dataset. Due to the pre-existing split in the original dataset, wherein the data has been partitioned approximately in a 4:1 ratio for training and testing sets, we uphold the original data division approach for the default subset. The data structure of the default subset can be viewed in the [viewer](https://huggingface.co/datasets/ccmusic-database/GZ_IsoTech/viewer). In addition, we have retained the [eval subset](#usage) used in the experiment for easy replication.
|
| 109 |
|
| 110 |
## Data Structure
|
| 111 |
<https://huggingface.co/datasets/ccmusic-database/GZ_IsoTech/viewer>
|
|
|
|
| 144 |
Chinese, English
|
| 145 |
|
| 146 |
## Usage
|
|
|
|
| 147 |
```python
|
| 148 |
from datasets import load_dataset
|
| 149 |
|
| 150 |
+
ds = load_dataset(
|
| 151 |
+
"ccmusic-database/GZ_IsoTech",
|
| 152 |
+
name="default", # train / eval
|
| 153 |
+
split="train", # train / validation / test (default has no validation)
|
| 154 |
+
cache_dir="./__pycache__",
|
| 155 |
+
)
|
| 156 |
+
for i in ds:
|
| 157 |
+
print(i)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 158 |
```
|
| 159 |
|
| 160 |
## Maintenance
|