tz18609292528@163.com commited on
Commit ·
f7d9b89
1
Parent(s): 15425b0
fix
Browse files- Cylonix_ASR_dataset.py +1 -1
- n_shards.json +1 -1
Cylonix_ASR_dataset.py
CHANGED
|
@@ -128,7 +128,7 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
|
|
| 128 |
# with open(n_shards_path, encoding="utf-8") as f:
|
| 129 |
# n_shards = json.load(f)
|
| 130 |
n_shards = {
|
| 131 |
-
"
|
| 132 |
"train": 1
|
| 133 |
}
|
| 134 |
}
|
|
|
|
| 128 |
# with open(n_shards_path, encoding="utf-8") as f:
|
| 129 |
# n_shards = json.load(f)
|
| 130 |
n_shards = {
|
| 131 |
+
"zh-CN": {
|
| 132 |
"train": 1
|
| 133 |
}
|
| 134 |
}
|
n_shards.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
"train": 1
|
| 4 |
}
|
| 5 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"zh-CN": {
|
| 3 |
"train": 1
|
| 4 |
}
|
| 5 |
}
|