naumov-al commited on
Commit
0d2089c
·
1 Parent(s): e4881c1

fix valid split bug

Browse files
Files changed (1) hide show
  1. 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.VALID,
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"),