Remove task templates
Browse files
multilingual_librispeech.py
CHANGED
@@ -21,7 +21,6 @@ from functools import partial
|
|
21 |
import os
|
22 |
|
23 |
import datasets
|
24 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
25 |
from datasets.utils.streaming_download_manager import xopen
|
26 |
|
27 |
|
@@ -94,7 +93,7 @@ class MultilingualLibrispeech(datasets.GeneratorBasedBuilder):
|
|
94 |
supervised_keys=("file", "text"),
|
95 |
homepage=_URL,
|
96 |
citation=_CITATION,
|
97 |
-
task_templates=
|
98 |
)
|
99 |
|
100 |
def _split_generators(self, dl_manager):
|
|
|
21 |
import os
|
22 |
|
23 |
import datasets
|
|
|
24 |
from datasets.utils.streaming_download_manager import xopen
|
25 |
|
26 |
|
|
|
93 |
supervised_keys=("file", "text"),
|
94 |
homepage=_URL,
|
95 |
citation=_CITATION,
|
96 |
+
task_templates=None,
|
97 |
)
|
98 |
|
99 |
def _split_generators(self, dl_manager):
|