mathiascreutz
commited on
Commit
·
fd10ea2
1
Parent(s):
786e261
Testing configs
Browse files- opusparcus.py +2 -2
opusparcus.py
CHANGED
|
@@ -142,7 +142,7 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
|
|
| 142 |
name=datasets.Split.TEST,
|
| 143 |
# These kwargs will be passed to _generate_examples
|
| 144 |
gen_kwargs={
|
| 145 |
-
"name": self.config.name
|
| 146 |
"filepath": data_dir["test"],
|
| 147 |
"split": "test"
|
| 148 |
},
|
|
@@ -151,7 +151,7 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
|
|
| 151 |
name=datasets.Split.VALIDATION,
|
| 152 |
# These kwargs will be passed to _generate_examples
|
| 153 |
gen_kwargs={
|
| 154 |
-
"name": self.config.name
|
| 155 |
"filepath": data_dir["validation"],
|
| 156 |
"split": "validation",
|
| 157 |
},
|
|
|
|
| 142 |
name=datasets.Split.TEST,
|
| 143 |
# These kwargs will be passed to _generate_examples
|
| 144 |
gen_kwargs={
|
| 145 |
+
"name": self.config.name,
|
| 146 |
"filepath": data_dir["test"],
|
| 147 |
"split": "test"
|
| 148 |
},
|
|
|
|
| 151 |
name=datasets.Split.VALIDATION,
|
| 152 |
# These kwargs will be passed to _generate_examples
|
| 153 |
gen_kwargs={
|
| 154 |
+
"name": self.config.name,
|
| 155 |
"filepath": data_dir["validation"],
|
| 156 |
"split": "validation",
|
| 157 |
},
|