albertvillanova HF Staff commited on
Commit
fea9e69
·
verified ·
1 Parent(s): 8f40b72

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. Li_singlish.py +0 -2
Li_singlish.py CHANGED
@@ -21,7 +21,6 @@ import csv
21
  import os
22
 
23
  import datasets
24
- from datasets.tasks import AutomaticSpeechRecognition
25
 
26
 
27
  _CITATION = """\
@@ -62,7 +61,6 @@ class LISinglish(datasets.GeneratorBasedBuilder):
62
  supervised_keys=("file", "text"),
63
  #homepage=_URL,
64
  citation=_CITATION,
65
- #task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
66
  )
67
 
68
  def _split_generators(self, dl_manager):
 
21
  import os
22
 
23
  import datasets
 
24
 
25
 
26
  _CITATION = """\
 
61
  supervised_keys=("file", "text"),
62
  #homepage=_URL,
63
  citation=_CITATION,
 
64
  )
65
 
66
  def _split_generators(self, dl_manager):