Remove deprecated tasks
#2
by
albertvillanova
HF Staff
- opened
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
|