mathiascreutz commited on
Commit
8b6a58d
·
1 Parent(s): e389063

Data loader produces full test and validation split as well

Browse files
Files changed (1) hide show
  1. opusparcus.py +2 -2
opusparcus.py CHANGED
@@ -176,7 +176,7 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
176
  "lang": self.config.lang,
177
  "quality": 100,
178
  "filepath": data_dir["test"],
179
- "split": "test"
180
  },
181
  ),
182
  datasets.SplitGenerator(
@@ -186,7 +186,7 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
186
  "lang": self.config.lang,
187
  "quality": 100,
188
  "filepath": data_dir["validation"],
189
- "split": "validation",
190
  },
191
  )
192
  ]
 
176
  "lang": self.config.lang,
177
  "quality": 100,
178
  "filepath": data_dir["test"],
179
+ "split": "test.full"
180
  },
181
  ),
182
  datasets.SplitGenerator(
 
186
  "lang": self.config.lang,
187
  "quality": 100,
188
  "filepath": data_dir["validation"],
189
+ "split": "validation.full",
190
  },
191
  )
192
  ]