Commit
•
a18ae96
1
Parent(s):
81dd00f
Remove deprecated tasks (#1)
Browse files- Remove deprecated tasks (eb43e5fb4bc1aee75b5d46612fb6b0cf5c418bc1)
NST.py
CHANGED
@@ -20,7 +20,6 @@ import io
|
|
20 |
import json
|
21 |
import tarfile
|
22 |
import datasets
|
23 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
24 |
|
25 |
|
26 |
_CITATION = """\
|
@@ -182,12 +181,6 @@ class Nst(datasets.GeneratorBasedBuilder):
|
|
182 |
supervised_keys=None,
|
183 |
homepage=_HOMEPAGE,
|
184 |
citation=_CITATION,
|
185 |
-
task_templates=[
|
186 |
-
AutomaticSpeechRecognition(
|
187 |
-
audio_column="audio",
|
188 |
-
transcription_column="text"
|
189 |
-
)
|
190 |
-
],
|
191 |
)
|
192 |
|
193 |
def _split_generators(self, dl_manager):
|
|
|
20 |
import json
|
21 |
import tarfile
|
22 |
import datasets
|
|
|
23 |
|
24 |
|
25 |
_CITATION = """\
|
|
|
181 |
supervised_keys=None,
|
182 |
homepage=_HOMEPAGE,
|
183 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
)
|
185 |
|
186 |
def _split_generators(self, dl_manager):
|