Remove deprecated tasks

#1
by albertvillanova HF Staff - opened
Files changed (1) hide show
  1. dementiabank.py +0 -6
dementiabank.py CHANGED
@@ -20,7 +20,6 @@ import os
20
  from typing import Optional
21
 
22
  import datasets
23
- from datasets.tasks import AutomaticSpeechRecognition
24
 
25
  _CITATION = """\
26
  @article{becker1994natural,
@@ -69,11 +68,6 @@ class DementiaBank(datasets.GeneratorBasedBuilder):
69
  supervised_keys=("file", "text"),
70
  homepage=_HOMEPAGE,
71
  citation=_CITATION,
72
- task_templates=[
73
- AutomaticSpeechRecognition(
74
- audio_file_path_column="file", transcription_column="text"
75
- )
76
- ],
77
  )
78
 
79
  def _split_generators(self, dl_manager):
 
20
  from typing import Optional
21
 
22
  import datasets
 
23
 
24
  _CITATION = """\
25
  @article{becker1994natural,
 
68
  supervised_keys=("file", "text"),
69
  homepage=_HOMEPAGE,
70
  citation=_CITATION,
 
 
 
 
 
71
  )
72
 
73
  def _split_generators(self, dl_manager):