Remove deprecated tasks
#1
by
albertvillanova
HF Staff
- opened
librispeech_train_clean_only.py
CHANGED
|
@@ -20,7 +20,6 @@
|
|
| 20 |
import os
|
| 21 |
|
| 22 |
import datasets
|
| 23 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
| 24 |
|
| 25 |
|
| 26 |
_CITATION = """\
|
|
@@ -94,7 +93,6 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
| 94 |
supervised_keys=("file", "text"),
|
| 95 |
homepage=_URL,
|
| 96 |
citation=_CITATION,
|
| 97 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
| 98 |
)
|
| 99 |
|
| 100 |
def _split_generators(self, dl_manager):
|
|
|
|
| 20 |
import os
|
| 21 |
|
| 22 |
import datasets
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
_CITATION = """\
|
|
|
|
| 93 |
supervised_keys=("file", "text"),
|
| 94 |
homepage=_URL,
|
| 95 |
citation=_CITATION,
|
|
|
|
| 96 |
)
|
| 97 |
|
| 98 |
def _split_generators(self, dl_manager):
|