Datasets:
rcds
/

Nina Baumgartner commited on
Commit
275caca
1 Parent(s): 338b649

Fixed loading script

Browse files
occlusion_swiss_judgment_prediction.py CHANGED
@@ -104,7 +104,7 @@ class OcclusionSwissJudgmentPrediction(datasets.GeneratorBasedBuilder):
104
 
105
  return [
106
  datasets.SplitGenerator(
107
- name=datasets.Split.TEST_1,
108
  # These kwargs will be passed to _generate_examples
109
  gen_kwargs={
110
  "filepath": filepath_test_1,
@@ -112,7 +112,7 @@ class OcclusionSwissJudgmentPrediction(datasets.GeneratorBasedBuilder):
112
  },
113
  ),
114
  datasets.SplitGenerator(
115
- name=datasets.Split.TEST_2,
116
  # These kwargs will be passed to _generate_examples
117
  gen_kwargs={
118
  "filepath": filepath_test_2,
@@ -120,7 +120,7 @@ class OcclusionSwissJudgmentPrediction(datasets.GeneratorBasedBuilder):
120
  },
121
  ),
122
  datasets.SplitGenerator(
123
- name=datasets.Split.TEST_3,
124
  # These kwargs will be passed to _generate_examples
125
  gen_kwargs={
126
  "filepath": filepath_test_3,
@@ -128,7 +128,7 @@ class OcclusionSwissJudgmentPrediction(datasets.GeneratorBasedBuilder):
128
  },
129
  ),
130
  datasets.SplitGenerator(
131
- name=datasets.Split.TEST_4,
132
  # These kwargs will be passed to _generate_examples
133
  gen_kwargs={
134
  "filepath": filepath_test_4,
 
104
 
105
  return [
106
  datasets.SplitGenerator(
107
+ name=datasets.Split.TEST,
108
  # These kwargs will be passed to _generate_examples
109
  gen_kwargs={
110
  "filepath": filepath_test_1,
 
112
  },
113
  ),
114
  datasets.SplitGenerator(
115
+ name=datasets.Split.TEST,
116
  # These kwargs will be passed to _generate_examples
117
  gen_kwargs={
118
  "filepath": filepath_test_2,
 
120
  },
121
  ),
122
  datasets.SplitGenerator(
123
+ name=datasets.Split.TEST,
124
  # These kwargs will be passed to _generate_examples
125
  gen_kwargs={
126
  "filepath": filepath_test_3,
 
128
  },
129
  ),
130
  datasets.SplitGenerator(
131
+ name=datasets.Split.TEST,
132
  # These kwargs will be passed to _generate_examples
133
  gen_kwargs={
134
  "filepath": filepath_test_4,