albertvillanova HF staff commited on
Commit
648d892
1 Parent(s): 219094a

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. vystadial2016_asr.py +0 -2
vystadial2016_asr.py CHANGED
@@ -20,7 +20,6 @@
20
  import os
21
 
22
  import datasets
23
- from datasets.tasks import AutomaticSpeechRecognition
24
 
25
 
26
  _CITATION = """\
@@ -78,7 +77,6 @@ class Vystadial2016ASR(datasets.GeneratorBasedBuilder):
78
  supervised_keys=("file", "text"),
79
  homepage=_URL,
80
  citation=_CITATION,
81
- task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
82
  )
83
 
84
  def _split_generators(self, dl_manager):
 
20
  import os
21
 
22
  import datasets
 
23
 
24
 
25
  _CITATION = """\
 
77
  supervised_keys=("file", "text"),
78
  homepage=_URL,
79
  citation=_CITATION,
 
80
  )
81
 
82
  def _split_generators(self, dl_manager):