Saptarshi7 commited on
Commit
d18b8cc
·
1 Parent(s): 1eca1ed

Upload covid_qa_cleaned_CS.py

Browse files
Files changed (1) hide show
  1. covid_qa_cleaned_CS.py +1 -3
covid_qa_cleaned_CS.py CHANGED
@@ -72,12 +72,10 @@ class CovidQADeepsetCleaned(datasets.GeneratorBasedBuilder):
72
  #url = _URLs[self.config.name]
73
  #downloaded_filepath = dl_manager.download_and_extract(url)
74
 
75
- filepath = os.path.abspath('covid_qa_cleaned_CS/covid_qa_cleaned_CS.json')
76
-
77
  return [
78
  datasets.SplitGenerator(
79
  name=datasets.Split.TRAIN,
80
- gen_kwargs={"filepath": filepath},
81
  ),
82
  ]
83
 
 
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": 'covid_qa_cleaned_CS.json'},
79
  ),
80
  ]
81