albertvillanova HF staff commited on
Commit
0129234
1 Parent(s): 5323116

Remove deprecated tasks (#1)

Browse files

- Remove deprecated tasks (2f8b418f15e5c901896303292cfd3ce549691278)

Files changed (1) hide show
  1. large-sinhala-asr-dataset.py +0 -4
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):