Datasets:
Remove deprecated tasks (#1)
Browse files- Remove deprecated tasks (f67a33accd82168c4510a5a4739e978a6ac59e83)
- NPSC_orto.py +0 -7
NPSC_orto.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 = """\
|
|
@@ -134,12 +133,6 @@ class Npsc_orto(datasets.GeneratorBasedBuilder):
|
|
| 134 |
supervised_keys=None,
|
| 135 |
homepage=_HOMEPAGE,
|
| 136 |
citation=_CITATION,
|
| 137 |
-
task_templates=[
|
| 138 |
-
AutomaticSpeechRecognition(
|
| 139 |
-
audio_column="audio",
|
| 140 |
-
transcription_column="sentence_nob",
|
| 141 |
-
)
|
| 142 |
-
],
|
| 143 |
)
|
| 144 |
|
| 145 |
def _split_generators(self, dl_manager):
|
|
|
|
| 20 |
import json
|
| 21 |
import tarfile
|
| 22 |
import datasets
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
_CITATION = """\
|
|
|
|
| 133 |
supervised_keys=None,
|
| 134 |
homepage=_HOMEPAGE,
|
| 135 |
citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
)
|
| 137 |
|
| 138 |
def _split_generators(self, dl_manager):
|