mathiascreutz commited on
Commit
26df041
·
1 Parent(s): 5993f21

Testing configs

Browse files
Files changed (1) hide show
  1. opusparcus.py +1 -1
opusparcus.py CHANGED
@@ -181,7 +181,7 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
181
  data = json.loads(row)
182
  if data["lang"] == lang:
183
  yield id_, {
184
- "lang": data["lang"] + str(quality),
185
  "sent1": data["sent1"],
186
  "sent2": data["sent2"],
187
  "annot_score": data["annot_score"],
 
181
  data = json.loads(row)
182
  if data["lang"] == lang:
183
  yield id_, {
184
+ "lang": data["lang"] + "-quality-" + str(quality),
185
  "sent1": data["sent1"],
186
  "sent2": data["sent2"],
187
  "annot_score": data["annot_score"],