Remove deprecated tasks (#1)
Browse files- Remove deprecated tasks (6ea6840bfce48d8d4c700767b1b7c9bfce6c99f5)
- librispeech_asr.py +0 -2
librispeech_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 = """\
|
|
@@ -102,7 +101,6 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
| 102 |
supervised_keys=("file", "text"),
|
| 103 |
homepage=_URL,
|
| 104 |
citation=_CITATION,
|
| 105 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
| 106 |
)
|
| 107 |
|
| 108 |
def _split_generators(self, dl_manager):
|
|
|
|
| 21 |
from pathlib import Path
|
| 22 |
|
| 23 |
import datasets
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
_CITATION = """\
|
|
|
|
| 101 |
supervised_keys=("file", "text"),
|
| 102 |
homepage=_URL,
|
| 103 |
citation=_CITATION,
|
|
|
|
| 104 |
)
|
| 105 |
|
| 106 |
def _split_generators(self, dl_manager):
|