mathiascreutz
commited on
Commit
·
074d5ce
1
Parent(s):
5e177db
Testing configs
Browse files- opusparcus.py +2 -2
opusparcus.py
CHANGED
@@ -149,7 +149,7 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
|
|
149 |
# These kwargs will be passed to _generate_examples
|
150 |
gen_kwargs={
|
151 |
"lang": self.config.lang,
|
152 |
-
"quality":
|
153 |
"filepath": data_dir["test"],
|
154 |
"split": "test"
|
155 |
},
|
@@ -159,7 +159,7 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
|
|
159 |
# These kwargs will be passed to _generate_examples
|
160 |
gen_kwargs={
|
161 |
"lang": self.config.lang,
|
162 |
-
"quality":
|
163 |
"filepath": data_dir["validation"],
|
164 |
"split": "validation",
|
165 |
},
|
|
|
149 |
# These kwargs will be passed to _generate_examples
|
150 |
gen_kwargs={
|
151 |
"lang": self.config.lang,
|
152 |
+
"quality": self.config.quality,
|
153 |
"filepath": data_dir["test"],
|
154 |
"split": "test"
|
155 |
},
|
|
|
159 |
# These kwargs will be passed to _generate_examples
|
160 |
gen_kwargs={
|
161 |
"lang": self.config.lang,
|
162 |
+
"quality": self.config.quality,
|
163 |
"filepath": data_dir["validation"],
|
164 |
"split": "validation",
|
165 |
},
|