albertvillanova HF staff commited on
Commit
6553eb5
1 Parent(s): 478f2eb

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. parlament_parla.py +0 -4
parlament_parla.py CHANGED
@@ -17,7 +17,6 @@
17
  import pandas as pd
18
 
19
  import datasets
20
- from datasets.tasks import AutomaticSpeechRecognition
21
 
22
 
23
  _CITATION = """\
@@ -83,9 +82,6 @@ class ParlamentParla(datasets.GeneratorBasedBuilder):
83
  homepage=_HOMEPAGE,
84
  license=_LICENSE,
85
  citation=_CITATION,
86
- task_templates=[
87
- AutomaticSpeechRecognition(transcription_column="sentence")
88
- ],
89
  )
90
 
91
  def _split_generators(self, dl_manager):
 
17
  import pandas as pd
18
 
19
  import datasets
 
20
 
21
 
22
  _CITATION = """\
 
82
  homepage=_HOMEPAGE,
83
  license=_LICENSE,
84
  citation=_CITATION,
 
 
 
85
  )
86
 
87
  def _split_generators(self, dl_manager):