Remove deprecated tasks (#1)
Browse files- Remove deprecated tasks (fd4276b38217cd49c3897b85e2a92845f8468c3b)
- asr-sample.py +0 -2
asr-sample.py
CHANGED
|
@@ -20,7 +20,6 @@
|
|
| 20 |
import os
|
| 21 |
|
| 22 |
import datasets
|
| 23 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
| 24 |
|
| 25 |
|
| 26 |
_CITATION = """\
|
|
@@ -90,7 +89,6 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
| 90 |
supervised_keys=("file", "text"),
|
| 91 |
homepage=_URL,
|
| 92 |
citation=_CITATION,
|
| 93 |
-
task_templates=[AutomaticSpeechRecognition(audio_file_path_column="audio", transcription_column="text")],
|
| 94 |
)
|
| 95 |
|
| 96 |
def _split_generators(self, dl_manager):
|
|
|
|
| 20 |
import os
|
| 21 |
|
| 22 |
import datasets
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
_CITATION = """\
|
|
|
|
| 89 |
supervised_keys=("file", "text"),
|
| 90 |
homepage=_URL,
|
| 91 |
citation=_CITATION,
|
|
|
|
| 92 |
)
|
| 93 |
|
| 94 |
def _split_generators(self, dl_manager):
|