Spaces:
Runtime error
Runtime error
fix back metadata
Browse files- codebleu.py +6 -6
codebleu.py
CHANGED
@@ -84,12 +84,12 @@ class codebleu(evaluate.Metric):
|
|
84 |
citation=_CITATION,
|
85 |
inputs_description=_KWARGS_DESCRIPTION,
|
86 |
features=[
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
datasets.Features(
|
94 |
{
|
95 |
"predictions": datasets.Value("string", id="sequence"),
|
|
|
84 |
citation=_CITATION,
|
85 |
inputs_description=_KWARGS_DESCRIPTION,
|
86 |
features=[
|
87 |
+
datasets.Features(
|
88 |
+
{
|
89 |
+
"predictions": datasets.Value("string", id="sequence"),
|
90 |
+
"references": datasets.Sequence(datasets.Value("string", id="sequence"), id="references"),
|
91 |
+
}
|
92 |
+
),
|
93 |
datasets.Features(
|
94 |
{
|
95 |
"predictions": datasets.Value("string", id="sequence"),
|