jupyterjazz commited on
Commit
dcc3d00
1 Parent(s): 9717853

fix: download issue

Browse files

Signed-off-by: jupyterjazz <[email protected]>

Files changed (1) hide show
  1. mintakaqa.py +3 -1
mintakaqa.py CHANGED
@@ -37,9 +37,11 @@ class MintakaQA(datasets.GeneratorBasedBuilder):
37
  def _split_generators(
38
  self, dl_manager: datasets.DownloadManager
39
  ) -> List[datasets.SplitGenerator]:
 
40
  return [
41
  datasets.SplitGenerator(
42
- name=datasets.Split.TEST, gen_kwargs={"filepath": DATA_PATH}
 
43
  ),
44
  ]
45
 
 
37
  def _split_generators(
38
  self, dl_manager: datasets.DownloadManager
39
  ) -> List[datasets.SplitGenerator]:
40
+ downloaded_file = dl_manager.download_and_extract(DATA_PATH)
41
  return [
42
  datasets.SplitGenerator(
43
+ name=datasets.Split.TEST,
44
+ gen_kwargs={"filepath": downloaded_file}
45
  ),
46
  ]
47