Commit
·
801be5a
1
Parent(s):
3b3a3f3
change to data from archive in babelbox_voice.py
Browse files- babelbox_voice.py +5 -5
babelbox_voice.py
CHANGED
@@ -18,10 +18,10 @@ _CITATION = """\
|
|
18 |
}
|
19 |
"""
|
20 |
|
21 |
-
_DL_BASE_URL = "https://huggingface.co/datasets/babelbox/babelbox_voice/resolve/main/
|
22 |
_DL_URL_FORMAT = _DL_BASE_URL + "/nst-data-{:0>3d}.tar.gz"
|
23 |
|
24 |
-
_METADATA_URL = "https://huggingface.co/datasets/babelbox/babelbox_voice/resolve/main/
|
25 |
|
26 |
_HF_REPO_PATH = "https://huggingface.co/datasets/babelbox/babelbox_voice/"
|
27 |
|
@@ -57,16 +57,16 @@ class BabelboxVoice(datasets.GeneratorBasedBuilder):
|
|
57 |
version=VERSION,
|
58 |
description="This part of Babel Voice includes data from National Library of Norway",
|
59 |
features=["path", "audio", "sentence"],
|
60 |
-
data_url= _HF_REPO_PATH + "resolve/main/
|
61 |
nb_data_shards = 30,
|
62 |
-
metadata_url= _HF_REPO_PATH + "resolve/main/
|
63 |
),
|
64 |
BabelboxVoiceConfig(
|
65 |
name="audiosubs",
|
66 |
version=VERSION,
|
67 |
description="This part of Babel Voice includes data from audio with subtitles",
|
68 |
features=["path", "audio", "sentence"],
|
69 |
-
data_url= _HF_REPO_PATH + "resolve/main/
|
70 |
nb_data_shards = 2,
|
71 |
metadata_url= None
|
72 |
)
|
|
|
18 |
}
|
19 |
"""
|
20 |
|
21 |
+
_DL_BASE_URL = "https://huggingface.co/datasets/babelbox/babelbox_voice/resolve/main/data/nst"
|
22 |
_DL_URL_FORMAT = _DL_BASE_URL + "/nst-data-{:0>3d}.tar.gz"
|
23 |
|
24 |
+
_METADATA_URL = "https://huggingface.co/datasets/babelbox/babelbox_voice/resolve/main/data/nst/metadata.tar.gz"
|
25 |
|
26 |
_HF_REPO_PATH = "https://huggingface.co/datasets/babelbox/babelbox_voice/"
|
27 |
|
|
|
57 |
version=VERSION,
|
58 |
description="This part of Babel Voice includes data from National Library of Norway",
|
59 |
features=["path", "audio", "sentence"],
|
60 |
+
data_url= _HF_REPO_PATH + "resolve/main/data/nst/nst-data-{:0>3d}.tar.gz",
|
61 |
nb_data_shards = 30,
|
62 |
+
metadata_url= _HF_REPO_PATH + "resolve/main/data/nst/metadata.tar.gz"
|
63 |
),
|
64 |
BabelboxVoiceConfig(
|
65 |
name="audiosubs",
|
66 |
version=VERSION,
|
67 |
description="This part of Babel Voice includes data from audio with subtitles",
|
68 |
features=["path", "audio", "sentence"],
|
69 |
+
data_url= _HF_REPO_PATH + "resolve/main/data/audiosubs/audiosubs-data-{:0>3d}.tar.gz",
|
70 |
nb_data_shards = 2,
|
71 |
metadata_url= None
|
72 |
)
|