update
Browse files- the-vault.py +2 -2
the-vault.py
CHANGED
@@ -118,7 +118,7 @@ class TheVault(datasets.GeneratorBasedBuilder):
|
|
118 |
files = dl_manager.download(data_files)
|
119 |
generators.append(
|
120 |
datasets.SplitGenerator(
|
121 |
-
name=split,
|
122 |
gen_kwargs={
|
123 |
"files": files,
|
124 |
},
|
@@ -135,7 +135,7 @@ class TheVault(datasets.GeneratorBasedBuilder):
|
|
135 |
files = dl_manager.download(data_files)
|
136 |
return [
|
137 |
datasets.SplitGenerator(
|
138 |
-
name=self.config.split_set,
|
139 |
gen_kwargs={
|
140 |
"files": files,
|
141 |
},
|
|
|
118 |
files = dl_manager.download(data_files)
|
119 |
generators.append(
|
120 |
datasets.SplitGenerator(
|
121 |
+
name=split.replace("/", "_"),
|
122 |
gen_kwargs={
|
123 |
"files": files,
|
124 |
},
|
|
|
135 |
files = dl_manager.download(data_files)
|
136 |
return [
|
137 |
datasets.SplitGenerator(
|
138 |
+
name=self.config.split_set.replace("/", "_"),
|
139 |
gen_kwargs={
|
140 |
"files": files,
|
141 |
},
|