Commit ·
f88118e
1
Parent(s): 90a9e9f
Update librispeech_asr.py
Browse files- librispeech_asr.py +14 -14
librispeech_asr.py
CHANGED
|
@@ -45,13 +45,13 @@ _DL_URL = "http://www.openslr.org/resources/12/"
|
|
| 45 |
|
| 46 |
|
| 47 |
_DL_URLS = {
|
| 48 |
-
"dev
|
| 49 |
-
"test
|
| 50 |
-
"train
|
| 51 |
-
"train
|
| 52 |
-
"test
|
| 53 |
-
"dev
|
| 54 |
-
"train
|
| 55 |
}
|
| 56 |
|
| 57 |
|
|
@@ -76,13 +76,13 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
| 76 |
DEFAULT_WRITER_BATCH_SIZE = 256
|
| 77 |
DEFAULT_CONFIG_NAME = "all"
|
| 78 |
BUILDER_CONFIGS = [
|
| 79 |
-
LibrispeechASRConfig(name="dev
|
| 80 |
-
LibrispeechASRConfig(name="test
|
| 81 |
-
LibrispeechASRConfig(name="train
|
| 82 |
-
LibrispeechASRConfig(name="train
|
| 83 |
-
LibrispeechASRConfig(name="dev
|
| 84 |
-
LibrispeechASRConfig(name="test
|
| 85 |
-
LibrispeechASRConfig(name="train
|
| 86 |
]
|
| 87 |
|
| 88 |
def _info(self):
|
|
|
|
| 45 |
|
| 46 |
|
| 47 |
_DL_URLS = {
|
| 48 |
+
"dev.clean": _DL_URL + "dev-clean.tar.gz",
|
| 49 |
+
"test.clean": _DL_URL + "test-clean.tar.gz",
|
| 50 |
+
"train.clean.100": _DL_URL + "train-clean-100.tar.gz",
|
| 51 |
+
"train.clean.360": _DL_URL + "train-clean-360.tar.gz",
|
| 52 |
+
"test.other": _DL_URL + "test-other.tar.gz",
|
| 53 |
+
"dev.other": _DL_URL + "dev-other.tar.gz",
|
| 54 |
+
"train.other.500": _DL_URL + "train-other-500.tar.gz",
|
| 55 |
}
|
| 56 |
|
| 57 |
|
|
|
|
| 76 |
DEFAULT_WRITER_BATCH_SIZE = 256
|
| 77 |
DEFAULT_CONFIG_NAME = "all"
|
| 78 |
BUILDER_CONFIGS = [
|
| 79 |
+
LibrispeechASRConfig(name="dev.clean", description="'Clean' speech."),
|
| 80 |
+
LibrispeechASRConfig(name="test.clean", description="'Clean' speech."),
|
| 81 |
+
LibrispeechASRConfig(name="train.clean.100", description="'Clean' speech, 100 hours."),
|
| 82 |
+
LibrispeechASRConfig(name="train.clean.360", description="'Clean' speech, 360 hours."),
|
| 83 |
+
LibrispeechASRConfig(name="dev.other", description="'Other', more challenging, speech."),
|
| 84 |
+
LibrispeechASRConfig(name="test.other", description="'Other', more challenging, speech."),
|
| 85 |
+
LibrispeechASRConfig(name="train.other.500", description="'Other', more challenging, speech, 500 hours."),
|
| 86 |
]
|
| 87 |
|
| 88 |
def _info(self):
|