Commit
•
b533f6d
1
Parent(s):
c32c46a
Remove deprecated tasks (#2)
Browse files- Remove deprecated tasks (c0af8c2eccc7082ea3b2dbea025cc604ae236d96)
nst.py
CHANGED
@@ -19,7 +19,6 @@ import json
|
|
19 |
import os
|
20 |
|
21 |
import datasets
|
22 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
23 |
|
24 |
|
25 |
_DESCRIPTION = """\
|
@@ -90,9 +89,6 @@ class NSTDataset(datasets.GeneratorBasedBuilder):
|
|
90 |
features=features,
|
91 |
supervised_keys=None,
|
92 |
homepage=_URL,
|
93 |
-
task_templates=[
|
94 |
-
AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")
|
95 |
-
],
|
96 |
)
|
97 |
|
98 |
# split is hardcoded to 'train' for now; there is a test set, but
|
|
|
19 |
import os
|
20 |
|
21 |
import datasets
|
|
|
22 |
|
23 |
|
24 |
_DESCRIPTION = """\
|
|
|
89 |
features=features,
|
90 |
supervised_keys=None,
|
91 |
homepage=_URL,
|
|
|
|
|
|
|
92 |
)
|
93 |
|
94 |
# split is hardcoded to 'train' for now; there is a test set, but
|