Datasets:
rcds
/

ninabaum commited on
Commit
34a8ac7
1 Parent(s): 21d3508

Update occlusion_swiss_judgment_prediction.py

Browse files
occlusion_swiss_judgment_prediction.py CHANGED
@@ -97,10 +97,10 @@ class OcclusionSwissJudgmentPrediction(datasets.GeneratorBasedBuilder):
97
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
98
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
99
  urls = _URLS[self.config.name]
100
- filepath_test_1 = dl_manager.download(os.path.join(urls, "test_occ_1.jsonl.xz"))
101
- filepath_test_2 = dl_manager.download(os.path.join(urls, "test_occ_1.jsonl.xz"))
102
- filepath_test_3 = dl_manager.download(os.path.join(urls, "test_occ_1.jsonl.xz"))
103
- filepath_test_4 = dl_manager.download(os.path.join(urls, "test_occ_1.jsonl.xz"))
104
 
105
  return [
106
  datasets.SplitGenerator(
 
97
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
98
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
99
  urls = _URLS[self.config.name]
100
+ filepath_test_1 = dl_manager.download(os.path.join(urls, "data/test_occ_1.jsonl.xz"))
101
+ filepath_test_2 = dl_manager.download(os.path.join(urls, "data/test_occ_1.jsonl.xz"))
102
+ filepath_test_3 = dl_manager.download(os.path.join(urls, "data/test_occ_1.jsonl.xz"))
103
+ filepath_test_4 = dl_manager.download(os.path.join(urls, "data/test_occ_1.jsonl.xz"))
104
 
105
  return [
106
  datasets.SplitGenerator(