Upload ningbo_voice_0.py
Browse files- ningbo_voice_0.py +8 -4
ningbo_voice_0.py
CHANGED
@@ -35,13 +35,17 @@ _HOMEPAGE = ""
|
|
35 |
_LICENSE = "https://creativecommons.org/publicdomain/zero/1.0/"
|
36 |
|
37 |
# TODO: change "streaming" to "main" after merge!
|
38 |
-
_BASE_URL = "https://huggingface.co/datasets/dcjack/ningbo_voice_0/
|
39 |
|
40 |
-
|
41 |
|
42 |
-
|
43 |
|
44 |
-
|
|
|
|
|
|
|
|
|
45 |
|
46 |
|
47 |
class CommonVoiceConfig(datasets.BuilderConfig):
|
|
|
35 |
_LICENSE = "https://creativecommons.org/publicdomain/zero/1.0/"
|
36 |
|
37 |
# TODO: change "streaming" to "main" after merge!
|
38 |
+
_BASE_URL = "https://huggingface.co/datasets/dcjack/ningbo_voice_0/"
|
39 |
|
40 |
+
_DATA_URL = "tree/main/"
|
41 |
|
42 |
+
_SHARD_URL = "blob/main/"
|
43 |
|
44 |
+
_AUDIO_URL = _BASE_URL + _DATA_URL + "audio/{lang}/{split}/{lang}_{split}_{shard_idx}.tar"
|
45 |
+
|
46 |
+
_TRANSCRIPT_URL = _BASE_URL + _DATA_URL + "transcript/{lang}/{split}.tsv"
|
47 |
+
|
48 |
+
_N_SHARDS_URL = _BASE_URL + _SHARD_URL + "n_shards.json"
|
49 |
|
50 |
|
51 |
class CommonVoiceConfig(datasets.BuilderConfig):
|