jupyterjazz
commited on
Commit
•
dcc3d00
1
Parent(s):
9717853
fix: download issue
Browse filesSigned-off-by: jupyterjazz <[email protected]>
- 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,
|
|
|
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 |
|