ShixuanAn commited on
Commit
e64dd18
1 Parent(s): 4c5a175

Update hugging_face.py

Browse files
Files changed (1) hide show
  1. hugging_face.py +4 -4
hugging_face.py CHANGED
@@ -92,17 +92,17 @@ class RDD2020_Dataset(datasets.GeneratorBasedBuilder):
92
  }
93
  ),
94
  datasets.SplitGenerator(
95
- name=datasets.Split.TEST1,
96
  gen_kwargs={
97
  "filepath": os.path.join(extracted_path, "test1"),
98
- "split": "test1",
99
  }
100
  ),
101
  datasets.SplitGenerator(
102
- name=datasets.Split.TEST2,
103
  gen_kwargs={
104
  "filepath": os.path.join(extracted_path, "test2"),
105
- "split": "test2",
106
  }
107
  )
108
  ]
 
92
  }
93
  ),
94
  datasets.SplitGenerator(
95
+ name=datasets.Split.TEST,
96
  gen_kwargs={
97
  "filepath": os.path.join(extracted_path, "test1"),
98
+ "split": "test1"
99
  }
100
  ),
101
  datasets.SplitGenerator(
102
+ name=datasets.Split.Validation,
103
  gen_kwargs={
104
  "filepath": os.path.join(extracted_path, "test2"),
105
+ "split": "test2"
106
  }
107
  )
108
  ]