alvinxrwui commited on
Commit
d587bac
1 Parent(s): 0e85cd2

fix: key error on dataset retrieval

Browse files
Files changed (1) hide show
  1. su_id_asr_6.py +3 -3
su_id_asr_6.py CHANGED
@@ -96,15 +96,15 @@ class SuIdASR(datasets.GeneratorBasedBuilder):
96
  return [
97
  datasets.SplitGenerator(
98
  name=datasets.Split.TRAIN,
99
- gen_kwargs={"filepath": dl_manager.download_and_extract(_URLs["su_id_asr_train"])},
100
  ),
101
  datasets.SplitGenerator(
102
  name=datasets.Split.VALIDATION,
103
- gen_kwargs={"filepath": dl_manager.download_and_extract(_URLs["su_id_asr_val"])},
104
  ),
105
  datasets.SplitGenerator(
106
  name=datasets.Split.TEST,
107
- gen_kwargs={"filepath": dl_manager.download_and_extract(_URLs["su_id_asr_test"])},
108
  )
109
  ]
110
 
 
96
  return [
97
  datasets.SplitGenerator(
98
  name=datasets.Split.TRAIN,
99
+ gen_kwargs={"filepath": dl_manager.download_and_extract(_URLs["su_id_asr_6_train"])},
100
  ),
101
  datasets.SplitGenerator(
102
  name=datasets.Split.VALIDATION,
103
+ gen_kwargs={"filepath": dl_manager.download_and_extract(_URLs["su_id_asr_6_val"])},
104
  ),
105
  datasets.SplitGenerator(
106
  name=datasets.Split.TEST,
107
+ gen_kwargs={"filepath": dl_manager.download_and_extract(_URLs["su_id_asr_6_test"])},
108
  )
109
  ]
110