Update pmc_oa.py
Browse files
pmc_oa.py
CHANGED
@@ -57,7 +57,6 @@ class PMC_OA(datasets.GeneratorBasedBuilder):
|
|
57 |
|
58 |
def _split_generators(self, dl_manager):
|
59 |
data_dir = dl_manager.download_and_extract(_URLS)
|
60 |
-
raise RuntimeError(data_dir)
|
61 |
|
62 |
return [
|
63 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": os.path.join(data_dir, "train.jsonl")}),
|
|
|
57 |
|
58 |
def _split_generators(self, dl_manager):
|
59 |
data_dir = dl_manager.download_and_extract(_URLS)
|
|
|
60 |
|
61 |
return [
|
62 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": os.path.join(data_dir, "train.jsonl")}),
|