albertvillanova HF staff commited on
Commit
f67a33a
1 Parent(s): 190ad76

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. NPSC_orto.py +0 -7
NPSC_orto.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 = """\
@@ -134,12 +133,6 @@ class Npsc_orto(datasets.GeneratorBasedBuilder):
134
  supervised_keys=None,
135
  homepage=_HOMEPAGE,
136
  citation=_CITATION,
137
- task_templates=[
138
- AutomaticSpeechRecognition(
139
- audio_column="audio",
140
- transcription_column="sentence_nob",
141
- )
142
- ],
143
  )
144
 
145
  def _split_generators(self, dl_manager):
 
20
  import json
21
  import tarfile
22
  import datasets
 
23
 
24
 
25
  _CITATION = """\
 
133
  supervised_keys=None,
134
  homepage=_HOMEPAGE,
135
  citation=_CITATION,
 
 
 
 
 
 
136
  )
137
 
138
  def _split_generators(self, dl_manager):