Datasets:
ToluClassics
commited on
Commit
·
a4effa6
1
Parent(s):
c045d71
Update afriqa.py
Browse files
afriqa.py
CHANGED
@@ -65,18 +65,6 @@ class AfriQA(datasets.GeneratorBasedBuilder):
|
|
65 |
AfriQAConfig(name="zul", version=datasets.Version("1.0.0"), description="AfriQA Zulu dataset"),
|
66 |
]
|
67 |
|
68 |
-
@property
|
69 |
-
def manual_download_instructions(self):
|
70 |
-
return dedent("""\
|
71 |
-
To access the data for this dataset, you need to download it at:
|
72 |
-
https://github.com/masakhane-io/afriqa/tree/main/data/queries
|
73 |
-
|
74 |
-
the directory contains a folder for each language, each folder contains a json file for each split (train, valid, test)
|
75 |
-
|
76 |
-
To load the dataset, pass the full path to the destination directory
|
77 |
-
in your call to the loading function: `datasets.load_dataset("afriqa", data_dir="<path/to/directory>")`
|
78 |
-
""")
|
79 |
-
|
80 |
def _info(self):
|
81 |
return datasets.DatasetInfo(
|
82 |
description=_DESCRIPTION,
|
|
|
65 |
AfriQAConfig(name="zul", version=datasets.Version("1.0.0"), description="AfriQA Zulu dataset"),
|
66 |
]
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
def _info(self):
|
69 |
return datasets.DatasetInfo(
|
70 |
description=_DESCRIPTION,
|