Commit
•
038538d
1
Parent(s):
90a60be
Remove deprecated tasks
Browse filesThis dataset uses `tasks`, which are deprecated and will raise an error after the next major release of `datasets`. See: https://github.com/huggingface/datasets/pull/6999
- librispeech_asr_clean.py +0 -2
librispeech_asr_clean.py
CHANGED
@@ -19,7 +19,6 @@
|
|
19 |
import os
|
20 |
|
21 |
import datasets
|
22 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
23 |
|
24 |
_CITATION = """\
|
25 |
@inproceedings{panayotov2015librispeech,
|
@@ -84,7 +83,6 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
84 |
supervised_keys=("file", "text"),
|
85 |
homepage=_URL,
|
86 |
citation=_CITATION,
|
87 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
88 |
)
|
89 |
|
90 |
def _split_generators(self, dl_manager):
|
|
|
19 |
import os
|
20 |
|
21 |
import datasets
|
|
|
22 |
|
23 |
_CITATION = """\
|
24 |
@inproceedings{panayotov2015librispeech,
|
|
|
83 |
supervised_keys=("file", "text"),
|
84 |
homepage=_URL,
|
85 |
citation=_CITATION,
|
|
|
86 |
)
|
87 |
|
88 |
def _split_generators(self, dl_manager):
|