mathiascreutz
commited on
Commit
•
965002e
1
Parent(s):
57f7397
Adding training sets
Browse files- opusparcus.py +2 -2
opusparcus.py
CHANGED
@@ -205,7 +205,7 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
|
|
205 |
"lang": data["lang"],
|
206 |
"sent1": data["sent1"],
|
207 |
"sent2": data["sent2"],
|
208 |
-
|
209 |
"gem_id": data["gem_id"],
|
210 |
"quality": data["quality"],
|
211 |
}
|
@@ -220,6 +220,6 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
|
|
220 |
"sent2": data["sent2"],
|
221 |
"annot_score": data["annot_score"],
|
222 |
"gem_id": data["gem_id"],
|
223 |
-
|
224 |
}
|
225 |
|
|
|
205 |
"lang": data["lang"],
|
206 |
"sent1": data["sent1"],
|
207 |
"sent2": data["sent2"],
|
208 |
+
"annot_score": 0.0,
|
209 |
"gem_id": data["gem_id"],
|
210 |
"quality": data["quality"],
|
211 |
}
|
|
|
220 |
"sent2": data["sent2"],
|
221 |
"annot_score": data["annot_score"],
|
222 |
"gem_id": data["gem_id"],
|
223 |
+
"quality": 100,
|
224 |
}
|
225 |
|