albertvillanova HF staff commited on
Commit
d340187
·
verified ·
1 Parent(s): 8a731c1

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. VinDataVLSP.py +0 -4
VinDataVLSP.py CHANGED
@@ -16,7 +16,6 @@
16
 
17
 
18
  import datasets
19
- from datasets.tasks import AutomaticSpeechRecognition
20
  import pandas as pd
21
  import re
22
 
@@ -96,9 +95,6 @@ class VinDataVLSP(datasets.GeneratorBasedBuilder):
96
  description=_DESCRIPTION,
97
  features=features,
98
  supervised_keys=None,
99
- task_templates=[
100
- AutomaticSpeechRecognition(audio_file_path_column="file_path", transcription_column="script")
101
- ],
102
  )
103
 
104
  def _split_generators(self, dl_manager):
 
16
 
17
 
18
  import datasets
 
19
  import pandas as pd
20
  import re
21
 
 
95
  description=_DESCRIPTION,
96
  features=features,
97
  supervised_keys=None,
 
 
 
98
  )
99
 
100
  def _split_generators(self, dl_manager):