Update the-vault-function.py
Browse files- the-vault-function.py +1 -1
the-vault-function.py
CHANGED
@@ -134,7 +134,7 @@ class TheVaultFunctionConfig(datasets.BuilderConfig):
|
|
134 |
split_set.remove("train")
|
135 |
if "train" in split_set or "train/full" in split_set:
|
136 |
for split in split_set:
|
137 |
-
"train" in split and (split != "train" and split != "train/full"):
|
138 |
raise ValueError(f"Split set 'train' (or 'train/full) already contains '{split}'. Please only include one.")
|
139 |
|
140 |
if "all" in languages:
|
|
|
134 |
split_set.remove("train")
|
135 |
if "train" in split_set or "train/full" in split_set:
|
136 |
for split in split_set:
|
137 |
+
if "train" in split and (split != "train" and split != "train/full"):
|
138 |
raise ValueError(f"Split set 'train' (or 'train/full) already contains '{split}'. Please only include one.")
|
139 |
|
140 |
if "all" in languages:
|