Remove deprecated tasks
#1
by
albertvillanova
HF staff
- opened
large-sinhala-asr-dataset.py
CHANGED
@@ -4,7 +4,6 @@ import shutil
|
|
4 |
import wget
|
5 |
|
6 |
import datasets
|
7 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
8 |
|
9 |
|
10 |
_DATA_CLIPS_URL = "https://www.openslr.org/resources/52/asr_sinhala_{}.zip"
|
@@ -94,9 +93,6 @@ class LargeASR(datasets.GeneratorBasedBuilder):
|
|
94 |
homepage=_HOMEPAGE,
|
95 |
license=_LICENSE,
|
96 |
citation=_CITATION,
|
97 |
-
task_templates=[
|
98 |
-
AutomaticSpeechRecognition(audio_file_path_column="file", transcription_column="sentence")
|
99 |
-
],
|
100 |
)
|
101 |
|
102 |
def _split_generators(self, dl_manager):
|
|
|
4 |
import wget
|
5 |
|
6 |
import datasets
|
|
|
7 |
|
8 |
|
9 |
_DATA_CLIPS_URL = "https://www.openslr.org/resources/52/asr_sinhala_{}.zip"
|
|
|
93 |
homepage=_HOMEPAGE,
|
94 |
license=_LICENSE,
|
95 |
citation=_CITATION,
|
|
|
|
|
|
|
96 |
)
|
97 |
|
98 |
def _split_generators(self, dl_manager):
|