Datasets:

ArXiv:
License:
NamCyan commited on
Commit
3b3d331
1 Parent(s): b1b4473

Update the-vault-function.py

Browse files
Files changed (1) hide show
  1. the-vault-function.py +8 -8
the-vault-function.py CHANGED
@@ -266,14 +266,14 @@ class TheVaultFunction(datasets.GeneratorBasedBuilder):
266
  # train_split_files.extend(split_files)
267
  # else:
268
 
269
- generators.append(
270
- datasets.SplitGenerator(
271
- name="train" if split == "train/full" else split.replace("/", "_"),
272
- gen_kwargs={
273
- "files": split_files,
274
- },
275
- ),
276
- )
277
 
278
  # if load_full_train and train_split_files:
279
  # generators = [datasets.SplitGenerator(name="train", gen_kwargs={"files": train_split_files})] + generators
 
266
  # train_split_files.extend(split_files)
267
  # else:
268
 
269
+ generators.append(
270
+ datasets.SplitGenerator(
271
+ name="train" if split == "train/full" else split.replace("/", "_"),
272
+ gen_kwargs={
273
+ "files": split_files,
274
+ },
275
+ ),
276
+ )
277
 
278
  # if load_full_train and train_split_files:
279
  # generators = [datasets.SplitGenerator(name="train", gen_kwargs={"files": train_split_files})] + generators