Fix edit_time
Browse files- ik-nlp-22_pestyle.py +1 -1
ik-nlp-22_pestyle.py
CHANGED
@@ -95,7 +95,7 @@ class IkNlp22PEStyle(datasets.GeneratorBasedBuilder):
|
|
95 |
for field in ["subject_id", "modality", "src_text", "mt_text", "tgt_text", "aligned_edit"]:
|
96 |
if field in self.config.features:
|
97 |
features[field] = datasets.Value("string")
|
98 |
-
for field in ["
|
99 |
if field in self.config.features:
|
100 |
features[field] = datasets.Value("float32")
|
101 |
return datasets.DatasetInfo(
|
|
|
95 |
for field in ["subject_id", "modality", "src_text", "mt_text", "tgt_text", "aligned_edit"]:
|
96 |
if field in self.config.features:
|
97 |
features[field] = datasets.Value("string")
|
98 |
+
for field in ["edit_time", "bleu", "chrf", "ter", "n_insert", "n_delete", "n_substitute", "n_shift"]:
|
99 |
if field in self.config.features:
|
100 |
features[field] = datasets.Value("float32")
|
101 |
return datasets.DatasetInfo(
|