Update the-vault-function.py
Browse files- the-vault-function.py +3 -1
the-vault-function.py
CHANGED
|
@@ -237,7 +237,9 @@ class TheVaultFunction(datasets.GeneratorBasedBuilder):
|
|
| 237 |
|
| 238 |
def _split_generators(self, dl_manager):
|
| 239 |
generators = []
|
| 240 |
-
|
|
|
|
|
|
|
| 241 |
if "all" in split_set:
|
| 242 |
split_set = ["train/full", "validation", "test"]
|
| 243 |
|
|
|
|
| 237 |
|
| 238 |
def _split_generators(self, dl_manager):
|
| 239 |
generators = []
|
| 240 |
+
split_set = self.config.split_set
|
| 241 |
+
languages = self.config.languages
|
| 242 |
+
|
| 243 |
if "all" in split_set:
|
| 244 |
split_set = ["train/full", "validation", "test"]
|
| 245 |
|