Update for datasets>=2.1
Browse files
multilingual_librispeech.py
CHANGED
@@ -94,7 +94,7 @@ class MultilingualLibrispeech(datasets.GeneratorBasedBuilder):
|
|
94 |
supervised_keys=("file", "text"),
|
95 |
homepage=_URL,
|
96 |
citation=_CITATION,
|
97 |
-
task_templates=[AutomaticSpeechRecognition(
|
98 |
)
|
99 |
|
100 |
def _split_generators(self, dl_manager):
|
|
|
94 |
supervised_keys=("file", "text"),
|
95 |
homepage=_URL,
|
96 |
citation=_CITATION,
|
97 |
+
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
98 |
)
|
99 |
|
100 |
def _split_generators(self, dl_manager):
|