Update app.py
Browse files
app.py
CHANGED
@@ -5,28 +5,6 @@ import csv
|
|
5 |
|
6 |
import datasets
|
7 |
|
8 |
-
|
9 |
-
_DESCRIPTION = """
|
10 |
-
A large-scale speech corpus for representation learning, semi-supervised learning and interpretation.
|
11 |
-
"""
|
12 |
-
|
13 |
-
_CITATION = """
|
14 |
-
@inproceedings{}
|
15 |
-
"""
|
16 |
-
|
17 |
-
_HOMEPAGE = ""
|
18 |
-
|
19 |
-
_LICENSE = ""
|
20 |
-
|
21 |
-
_ASR_LANGUAGES = [
|
22 |
-
"hy"
|
23 |
-
]
|
24 |
-
_ASR_ACCENTED_LANGUAGES = [
|
25 |
-
""
|
26 |
-
]
|
27 |
-
|
28 |
-
_LANGUAGES = _ASR_LANGUAGES + _ASR_ACCENTED_LANGUAGES
|
29 |
-
|
30 |
_BASE_DATA_DIR = "data/"
|
31 |
|
32 |
_N_SHARDS_FILE = _BASE_DATA_DIR + "n_files.json"
|
@@ -40,9 +18,8 @@ _METADATA_PATH = _BASE_DATA_DIR + "{split}.tsv"
|
|
40 |
class Hyvoxpopuli(datasets.GeneratorBasedBuilder):
|
41 |
"""The VoxPopuli dataset."""
|
42 |
|
43 |
-
VERSION = datasets.Version("
|
44 |
|
45 |
-
DEFAULT_WRITER_BATCH_SIZE = 256
|
46 |
|
47 |
def _info(self):
|
48 |
features = datasets.Features(
|
@@ -58,11 +35,7 @@ class Hyvoxpopuli(datasets.GeneratorBasedBuilder):
|
|
58 |
}
|
59 |
)
|
60 |
return datasets.DatasetInfo(
|
61 |
-
|
62 |
-
features=features,
|
63 |
-
homepage=_HOMEPAGE,
|
64 |
-
license=_LICENSE,
|
65 |
-
citation=_CITATION,
|
66 |
)
|
67 |
|
68 |
def _split_generators(self, dl_manager):
|
|
|
5 |
|
6 |
import datasets
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
_BASE_DATA_DIR = "data/"
|
9 |
|
10 |
_N_SHARDS_FILE = _BASE_DATA_DIR + "n_files.json"
|
|
|
18 |
class Hyvoxpopuli(datasets.GeneratorBasedBuilder):
|
19 |
"""The VoxPopuli dataset."""
|
20 |
|
21 |
+
VERSION = datasets.Version("0.0.1") # TODO: version
|
22 |
|
|
|
23 |
|
24 |
def _info(self):
|
25 |
features = datasets.Features(
|
|
|
35 |
}
|
36 |
)
|
37 |
return datasets.DatasetInfo(
|
38 |
+
features=features
|
|
|
|
|
|
|
|
|
39 |
)
|
40 |
|
41 |
def _split_generators(self, dl_manager):
|