Datasets:
Commit
•
af9f49b
1
Parent(s):
aa96d9a
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
- lj_speech.py +0 -2
lj_speech.py
CHANGED
@@ -21,7 +21,6 @@ import csv
|
|
21 |
import os
|
22 |
|
23 |
import datasets
|
24 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
25 |
|
26 |
|
27 |
_CITATION = """\
|
@@ -83,7 +82,6 @@ class LJSpeech(datasets.GeneratorBasedBuilder):
|
|
83 |
supervised_keys=("file", "text"),
|
84 |
homepage=_URL,
|
85 |
citation=_CITATION,
|
86 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
87 |
)
|
88 |
|
89 |
def _split_generators(self, dl_manager):
|
|
|
21 |
import os
|
22 |
|
23 |
import datasets
|
|
|
24 |
|
25 |
|
26 |
_CITATION = """\
|
|
|
82 |
supervised_keys=("file", "text"),
|
83 |
homepage=_URL,
|
84 |
citation=_CITATION,
|
|
|
85 |
)
|
86 |
|
87 |
def _split_generators(self, dl_manager):
|