Datasets:
admin
commited on
Commit
·
5125aa8
1
Parent(s):
b2a3d55
upd api
Browse files
CTIS.py
CHANGED
|
@@ -5,11 +5,9 @@ import datasets
|
|
| 5 |
from datasets.tasks import AudioClassification
|
| 6 |
|
| 7 |
|
| 8 |
-
|
| 9 |
|
| 10 |
-
_DOMAIN = f"
|
| 11 |
-
|
| 12 |
-
_HOMEPAGE = f"https://www.modelscope.cn/datasets/ccmusic-database/{_DBNAME}"
|
| 13 |
|
| 14 |
_NAMES = {
|
| 15 |
"C0090": ["大笒", "da4_cen2"],
|
|
@@ -195,7 +193,6 @@ _NAMES = {
|
|
| 195 |
"L0288": ["椰胡", "ye1_hu2"],
|
| 196 |
"L0291": ["扁八角高胡", "bian3_ba1_jiao3_gao1_hu2"],
|
| 197 |
"L0292": ["六角高胡", "liu4_jiao3_gao1_hu2"],
|
| 198 |
-
# "L0293": ["某少数民族胡", "unknown_hu2"],
|
| 199 |
"L0297": ["中胡", "zhong1_hu2"],
|
| 200 |
"L0307": ["芦笙", "lu2_sheng1"],
|
| 201 |
"L0312": ["牛角胡", "niu2_jiao3_hu2"],
|
|
|
|
| 5 |
from datasets.tasks import AudioClassification
|
| 6 |
|
| 7 |
|
| 8 |
+
_HOMEPAGE = f"https://www.modelscope.cn/datasets/ccmusic-database/{os.path.basename(__file__)[:-3]}"
|
| 9 |
|
| 10 |
+
_DOMAIN = f"{_HOMEPAGE}/resolve/master/data"
|
|
|
|
|
|
|
| 11 |
|
| 12 |
_NAMES = {
|
| 13 |
"C0090": ["大笒", "da4_cen2"],
|
|
|
|
| 193 |
"L0288": ["椰胡", "ye1_hu2"],
|
| 194 |
"L0291": ["扁八角高胡", "bian3_ba1_jiao3_gao1_hu2"],
|
| 195 |
"L0292": ["六角高胡", "liu4_jiao3_gao1_hu2"],
|
|
|
|
| 196 |
"L0297": ["中胡", "zhong1_hu2"],
|
| 197 |
"L0307": ["芦笙", "lu2_sheng1"],
|
| 198 |
"L0312": ["牛角胡", "niu2_jiao3_hu2"],
|
README.md
CHANGED
|
@@ -62,7 +62,7 @@ Based on the aforementioned raw dataset, after data processing, we have construc
|
|
| 62 |
|
| 63 |
## Maintenance
|
| 64 |
```bash
|
| 65 |
-
|
| 66 |
cd CTIS
|
| 67 |
```
|
| 68 |
|
|
|
|
| 62 |
|
| 63 |
## Maintenance
|
| 64 |
```bash
|
| 65 |
+
git clone git@hf.co:datasets/ccmusic-database/CTIS
|
| 66 |
cd CTIS
|
| 67 |
```
|
| 68 |
|