albertvillanova HF staff commited on
Commit
ea8c981
1 Parent(s): 4b2ea77

Remove deprecated tasks

Browse files

This 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

Files changed (1) hide show
  1. openslr-nepali-asr-cleaned.py +0 -3
openslr-nepali-asr-cleaned.py CHANGED
@@ -105,9 +105,6 @@ class OpenslrNepaliAsrCleaned(datasets.GeneratorBasedBuilder):
105
  license=_LICENSE,
106
  # Citation for the dataset
107
  citation=_CITATION,
108
- task_templates=[datasets.tasks.AutomaticSpeechRecognition(
109
- audio_column="utterance", transcription_column="transcription"
110
- )]
111
  )
112
 
113
  def _split_generators(self, dl_manager):
 
105
  license=_LICENSE,
106
  # Citation for the dataset
107
  citation=_CITATION,
 
 
 
108
  )
109
 
110
  def _split_generators(self, dl_manager):