albertvillanova HF staff commited on
Commit
beb93bd
·
verified ·
1 Parent(s): f646cd6

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. tv3_parla.py +0 -4
tv3_parla.py CHANGED
@@ -17,7 +17,6 @@
17
  import re
18
 
19
  import datasets
20
- from datasets.tasks import AutomaticSpeechRecognition
21
 
22
 
23
  _CITATION = """\
@@ -73,9 +72,6 @@ class Tv3Parla(datasets.GeneratorBasedBuilder):
73
  homepage=_HOMEPAGE,
74
  license=_LICENSE,
75
  citation=_CITATION,
76
- task_templates=[
77
- AutomaticSpeechRecognition(transcription_column="text")
78
- ],
79
  )
80
 
81
  def _split_generators(self, dl_manager):
 
17
  import re
18
 
19
  import datasets
 
20
 
21
 
22
  _CITATION = """\
 
72
  homepage=_HOMEPAGE,
73
  license=_LICENSE,
74
  citation=_CITATION,
 
 
 
75
  )
76
 
77
  def _split_generators(self, dl_manager):