Update hugging_face.py
Browse files- hugging_face.py +4 -4
hugging_face.py
CHANGED
@@ -94,15 +94,15 @@ class RDD2020_Dataset(datasets.GeneratorBasedBuilder):
|
|
94 |
datasets.SplitGenerator(
|
95 |
name=datasets.Split.TEST,
|
96 |
gen_kwargs={
|
97 |
-
"filepath": os.path.join(extracted_path, "
|
98 |
-
"split": "
|
99 |
}
|
100 |
),
|
101 |
datasets.SplitGenerator(
|
102 |
name=datasets.Split.Validation,
|
103 |
gen_kwargs={
|
104 |
-
"filepath": os.path.join(extracted_path, "
|
105 |
-
"split": "
|
106 |
}
|
107 |
)
|
108 |
]
|
|
|
94 |
datasets.SplitGenerator(
|
95 |
name=datasets.Split.TEST,
|
96 |
gen_kwargs={
|
97 |
+
"filepath": os.path.join(extracted_path, "test"),
|
98 |
+
"split": "test"
|
99 |
}
|
100 |
),
|
101 |
datasets.SplitGenerator(
|
102 |
name=datasets.Split.Validation,
|
103 |
gen_kwargs={
|
104 |
+
"filepath": os.path.join(extracted_path, "validation"),
|
105 |
+
"split": "validation"
|
106 |
}
|
107 |
)
|
108 |
]
|