Remove deprecated tasks
#1
by
albertvillanova
HF Staff
- opened
- librispeech_test_only.py +0 -2
librispeech_test_only.py
CHANGED
|
@@ -20,7 +20,6 @@
|
|
| 20 |
import os
|
| 21 |
|
| 22 |
import datasets
|
| 23 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
| 24 |
|
| 25 |
|
| 26 |
_CITATION = """\
|
|
@@ -100,7 +99,6 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
| 100 |
supervised_keys=("file", "text"),
|
| 101 |
homepage=_URL,
|
| 102 |
citation=_CITATION,
|
| 103 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
| 104 |
)
|
| 105 |
|
| 106 |
def _split_generators(self, dl_manager):
|
|
|
|
| 20 |
import os
|
| 21 |
|
| 22 |
import datasets
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
_CITATION = """\
|
|
|
|
| 99 |
supervised_keys=("file", "text"),
|
| 100 |
homepage=_URL,
|
| 101 |
citation=_CITATION,
|
|
|
|
| 102 |
)
|
| 103 |
|
| 104 |
def _split_generators(self, dl_manager):
|