Datasets:
fix valid split bug
Browse files- author_profiling.py +1 -1
author_profiling.py
CHANGED
@@ -141,7 +141,7 @@ class AuthorProfiling(datasets.GeneratorBasedBuilder):
|
|
141 |
},
|
142 |
),
|
143 |
datasets.SplitGenerator(
|
144 |
-
name=datasets.Split.
|
145 |
# These kwargs will be passed to _generate_examples
|
146 |
gen_kwargs={
|
147 |
"filepath": os.path.join(data_dir, self.config.name, "valid.jsonl"),
|
|
|
141 |
},
|
142 |
),
|
143 |
datasets.SplitGenerator(
|
144 |
+
name=datasets.Split.VALIDATION,
|
145 |
# These kwargs will be passed to _generate_examples
|
146 |
gen_kwargs={
|
147 |
"filepath": os.path.join(data_dir, self.config.name, "valid.jsonl"),
|