Datasets:
Upload common_voice_17_0.py
Browse files- common_voice_17_0.py +1 -1
common_voice_17_0.py
CHANGED
|
@@ -137,7 +137,7 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
|
|
| 137 |
n_shards = json.load(f)
|
| 138 |
|
| 139 |
audio_urls = {}
|
| 140 |
-
splits = ("train", "dev", "test", "other", "invalidated")
|
| 141 |
for split in splits:
|
| 142 |
audio_urls[split] = [
|
| 143 |
_AUDIO_URL.format(lang=lang, split=split, shard_idx=i) for i in range(n_shards[lang][split])
|
|
|
|
| 137 |
n_shards = json.load(f)
|
| 138 |
|
| 139 |
audio_urls = {}
|
| 140 |
+
splits = ("train", "dev", "test", "other", "invalidated","validated","unvalidated")
|
| 141 |
for split in splits:
|
| 142 |
audio_urls[split] = [
|
| 143 |
_AUDIO_URL.format(lang=lang, split=split, shard_idx=i) for i in range(n_shards[lang][split])
|