Datasets:
Commit
•
5aa69cc
1
Parent(s):
256b262
Remove deprecated tasks (#3)
Browse files- Remove deprecated tasks (7c25d0ae8a393c21533d85c1848c337d4fa1ca7b)
librispeech_asr_self_contained.py
CHANGED
@@ -20,7 +20,6 @@
|
|
20 |
import os
|
21 |
|
22 |
import datasets
|
23 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
24 |
|
25 |
|
26 |
_CITATION = """\
|
@@ -110,7 +109,6 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
110 |
supervised_keys=("file", "text"),
|
111 |
homepage=_URL,
|
112 |
citation=_CITATION,
|
113 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
114 |
)
|
115 |
|
116 |
def _split_generators(self, dl_manager):
|
|
|
20 |
import os
|
21 |
|
22 |
import datasets
|
|
|
23 |
|
24 |
|
25 |
_CITATION = """\
|
|
|
109 |
supervised_keys=("file", "text"),
|
110 |
homepage=_URL,
|
111 |
citation=_CITATION,
|
|
|
112 |
)
|
113 |
|
114 |
def _split_generators(self, dl_manager):
|