fix 2 v1
Browse files- nl2bash_m.py +14 -6
nl2bash_m.py
CHANGED
@@ -85,12 +85,20 @@ class nl2bash_m(evaluate.Metric):
|
|
85 |
description=_DESCRIPTION,
|
86 |
citation=_CITATION,
|
87 |
inputs_description=_KWARGS_DESCRIPTION,
|
88 |
-
features=
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
reference_urls=[],
|
95 |
)
|
96 |
|
|
|
85 |
description=_DESCRIPTION,
|
86 |
citation=_CITATION,
|
87 |
inputs_description=_KWARGS_DESCRIPTION,
|
88 |
+
features=[
|
89 |
+
datasets.Features(
|
90 |
+
{
|
91 |
+
"predictions": datasets.Value("string", id="sequence"),
|
92 |
+
"references": datasets.Sequence(datasets.Value("string", id="sequence"), id="references"),
|
93 |
+
}
|
94 |
+
),
|
95 |
+
datasets.Features(
|
96 |
+
{
|
97 |
+
"predictions": datasets.Value("string", id="sequence"),
|
98 |
+
"references": datasets.Value("string", id="sequence"),
|
99 |
+
}
|
100 |
+
),
|
101 |
+
],
|
102 |
reference_urls=[],
|
103 |
)
|
104 |
|