albertvillanova HF staff commited on
Commit
bea11cc
1 Parent(s): bb41293

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. NST_hesitate.py +0 -7
NST_hesitate.py CHANGED
@@ -20,7 +20,6 @@ import io
20
  import json
21
  import tarfile
22
  import datasets
23
- from datasets.tasks import AutomaticSpeechRecognition
24
 
25
 
26
  _CITATION = """\
@@ -137,12 +136,6 @@ class NST_hesitate(datasets.GeneratorBasedBuilder):
137
  supervised_keys=None,
138
  homepage=_HOMEPAGE,
139
  citation=_CITATION,
140
- task_templates=[
141
- AutomaticSpeechRecognition(
142
- audio_column="audio",
143
- transcription_column="text"
144
- )
145
- ],
146
  )
147
 
148
  def _split_generators(self, dl_manager):
 
20
  import json
21
  import tarfile
22
  import datasets
 
23
 
24
 
25
  _CITATION = """\
 
136
  supervised_keys=None,
137
  homepage=_HOMEPAGE,
138
  citation=_CITATION,
 
 
 
 
 
 
139
  )
140
 
141
  def _split_generators(self, dl_manager):