albertvillanova HF staff commited on
Commit
f994737
·
verified ·
1 Parent(s): fd33665

Remove deprecated tasks (#1)

Browse files

- Remove deprecated tasks (92d257b6a41967c23b186742d60839e1bdcfc125)

Files changed (1) hide show
  1. whisper_adversarial_examples.py +0 -2
whisper_adversarial_examples.py CHANGED
@@ -20,7 +20,6 @@
20
  import os
21
 
22
  import datasets
23
- from datasets.tasks import AutomaticSpeechRecognition
24
 
25
 
26
  _DESCRIPTION = """\
@@ -106,7 +105,6 @@ class AdvWhisperASR(datasets.GeneratorBasedBuilder):
106
  }
107
  ),
108
  supervised_keys=("file", "text"),
109
- task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
110
  )
111
 
112
  def _split_generators(self, dl_manager):
 
20
  import os
21
 
22
  import datasets
 
23
 
24
 
25
  _DESCRIPTION = """\
 
105
  }
106
  ),
107
  supervised_keys=("file", "text"),
 
108
  )
109
 
110
  def _split_generators(self, dl_manager):