pershyfon commited on
Commit
7c80642
1 Parent(s): 2308400

Rename su_id_asr_split.py to su_id_asr.py

Browse files
su_id_asr_split.py → su_id_asr.py RENAMED
@@ -36,9 +36,9 @@ _HOMEPAGE = "https://indonlp.github.io/nusa-catalogue/card.html?su_id_asr"
36
  _LICENSE = "Attribution-ShareAlike 4.0 International."
37
 
38
  _URLs = {
39
- "su_id_asr_test": "https://univindonesia-my.sharepoint.com/:u:/g/personal/sabrina_aviana_office_ui_ac_id/Eds4-Yht811OrI56EdLSEpkBg4SuudSazxSRmSo3d_SqLg?e=WMuSdC&download=1",
40
- "su_id_asr_val": "https://univindonesia-my.sharepoint.com/:u:/g/personal/sabrina_aviana_office_ui_ac_id/EamAbFjx5J1AjUO1apFjFDwBuoMfPeB1oB_vsL6YxxGjkw?e=vFdjzW&download=1",
41
- "su_id_asr_train": "https://univindonesia-my.sharepoint.com/:u:/g/personal/sabrina_aviana_office_ui_ac_id/ESwkEg0Fx_FKhoZbUZx6qPABZFXO8LpEEcUZGisLhrzTQQ?e=tzyFwr&download=1",
42
  }
43
 
44
  _SUPPORTED_TASKS = [Tasks.SPEECH_RECOGNITION]
@@ -89,7 +89,6 @@ class SuIdASR(datasets.GeneratorBasedBuilder):
89
  homepage=_HOMEPAGE,
90
  license=_LICENSE,
91
  citation=_CITATION,
92
- task_templates=[datasets.AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
93
  )
94
 
95
  def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
@@ -100,7 +99,7 @@ class SuIdASR(datasets.GeneratorBasedBuilder):
100
  ),
101
  datasets.SplitGenerator(
102
  name=datasets.Split.VALIDATION,
103
- gen_kwargs={"filepath": dl_manager.download_and_extract(_URLs["su_id_asr_dev"])},
104
  ),
105
  datasets.SplitGenerator(
106
  name=datasets.Split.TEST,
 
36
  _LICENSE = "Attribution-ShareAlike 4.0 International."
37
 
38
  _URLs = {
39
+ "su_id_asr_test": "https://univindonesia-my.sharepoint.com/:u:/g/personal/sabrina_aviana_office_ui_ac_id/EUHbJw7VwulAl8qOEi9_F1QByNZzLRB4mw6UQ3HCdjoRXQ?e=c28Vox&download=1",
40
+ "su_id_asr_val": "https://univindonesia-my.sharepoint.com/:u:/g/personal/sabrina_aviana_office_ui_ac_id/ES1M4abLUEFBtInBgDkOgmMB3_R37u8zVr6bLdqMu3Jsnw?e=h1G1sQ&download=1",
41
+ "su_id_asr_train": "https://univindonesia-my.sharepoint.com/:u:/g/personal/sabrina_aviana_office_ui_ac_id/ESMPmgzcQjdEvuslmz1apPoBt4luPfnkO8s831E-VxR8Yg?e=PSQtdW&download=1",
42
  }
43
 
44
  _SUPPORTED_TASKS = [Tasks.SPEECH_RECOGNITION]
 
89
  homepage=_HOMEPAGE,
90
  license=_LICENSE,
91
  citation=_CITATION,
 
92
  )
93
 
94
  def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
 
99
  ),
100
  datasets.SplitGenerator(
101
  name=datasets.Split.VALIDATION,
102
+ gen_kwargs={"filepath": dl_manager.download_and_extract(_URLs["su_id_asr_val"])},
103
  ),
104
  datasets.SplitGenerator(
105
  name=datasets.Split.TEST,