Remove deprecated tasks
Browse files
librispeech_asr_for_optimum_habana_ci.py
CHANGED
@@ -20,7 +20,6 @@
|
|
20 |
import os
|
21 |
|
22 |
import datasets
|
23 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
24 |
|
25 |
|
26 |
_CITATION = """\
|
@@ -92,7 +91,6 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
92 |
supervised_keys=("file", "text"),
|
93 |
homepage=_URL,
|
94 |
citation=_CITATION,
|
95 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
96 |
)
|
97 |
|
98 |
def _split_generators(self, dl_manager):
|
|
|
20 |
import os
|
21 |
|
22 |
import datasets
|
|
|
23 |
|
24 |
|
25 |
_CITATION = """\
|
|
|
91 |
supervised_keys=("file", "text"),
|
92 |
homepage=_URL,
|
93 |
citation=_CITATION,
|
|
|
94 |
)
|
95 |
|
96 |
def _split_generators(self, dl_manager):
|