Remove deprecated tasks
#3
by
albertvillanova
HF Staff
- opened
- timit_asr.py +0 -2
timit_asr.py
CHANGED
|
@@ -21,7 +21,6 @@ import os
|
|
| 21 |
from pathlib import Path
|
| 22 |
|
| 23 |
import datasets
|
| 24 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
| 25 |
|
| 26 |
|
| 27 |
_CITATION = """\
|
|
@@ -109,7 +108,6 @@ class TimitASR(datasets.GeneratorBasedBuilder):
|
|
| 109 |
supervised_keys=("file", "text"),
|
| 110 |
homepage=_HOMEPAGE,
|
| 111 |
citation=_CITATION,
|
| 112 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
| 113 |
)
|
| 114 |
|
| 115 |
def _split_generators(self, dl_manager):
|
|
|
|
| 21 |
from pathlib import Path
|
| 22 |
|
| 23 |
import datasets
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
_CITATION = """\
|
|
|
|
| 108 |
supervised_keys=("file", "text"),
|
| 109 |
homepage=_HOMEPAGE,
|
| 110 |
citation=_CITATION,
|
|
|
|
| 111 |
)
|
| 112 |
|
| 113 |
def _split_generators(self, dl_manager):
|