Commit ·
a8bb579
1
Parent(s): 3fa7996
Update Test.py
Browse files
Test.py
CHANGED
|
@@ -60,7 +60,7 @@ class QAHarvestingFromWikipedia(datasets.GeneratorBasedBuilder):
|
|
| 60 |
def _split_generators(self, dl_manager):
|
| 61 |
downloaded_file = dl_manager.download_and_extract(_URLS)
|
| 62 |
return [datasets.SplitGenerator(name=i, gen_kwargs={"filepath": downloaded_file[str(i)]})
|
| 63 |
-
for i in [datasets.Split.TRAIN
|
| 64 |
|
| 65 |
def _generate_examples(self, filepath):
|
| 66 |
"""This function returns the examples in the raw (text) form."""
|
|
|
|
| 60 |
def _split_generators(self, dl_manager):
|
| 61 |
downloaded_file = dl_manager.download_and_extract(_URLS)
|
| 62 |
return [datasets.SplitGenerator(name=i, gen_kwargs={"filepath": downloaded_file[str(i)]})
|
| 63 |
+
for i in [datasets.Split.TRAIN]]
|
| 64 |
|
| 65 |
def _generate_examples(self, filepath):
|
| 66 |
"""This function returns the examples in the raw (text) form."""
|