Datasets:
ArXiv:
License:
Saptarshi7
commited on
Commit
•
dbeb20a
1
Parent(s):
d18b8cc
Upload covid_qa_cleaned_CS.py
Browse files- covid_qa_cleaned_CS.py +3 -1
covid_qa_cleaned_CS.py
CHANGED
@@ -72,10 +72,12 @@ class CovidQADeepsetCleaned(datasets.GeneratorBasedBuilder):
|
|
72 |
#url = _URLs[self.config.name]
|
73 |
#downloaded_filepath = dl_manager.download_and_extract(url)
|
74 |
|
|
|
|
|
75 |
return [
|
76 |
datasets.SplitGenerator(
|
77 |
name=datasets.Split.TRAIN,
|
78 |
-
gen_kwargs={"filepath":
|
79 |
),
|
80 |
]
|
81 |
|
|
|
72 |
#url = _URLs[self.config.name]
|
73 |
#downloaded_filepath = dl_manager.download_and_extract(url)
|
74 |
|
75 |
+
filepath = os.path.relpath('covid_qa_cleaned_CS.json')
|
76 |
+
|
77 |
return [
|
78 |
datasets.SplitGenerator(
|
79 |
name=datasets.Split.TRAIN,
|
80 |
+
gen_kwargs={"filepath": filepath},
|
81 |
),
|
82 |
]
|
83 |
|