red1bluelost
commited on
Commit
·
02ebdd5
1
Parent(s):
2ed1c06
Updates format of features.
Browse files
evaluate_genericify_cpp.py
CHANGED
@@ -97,15 +97,7 @@ class EvaluateGenericifyCpp(evaluate.Metric):
|
|
97 |
# This defines the format of each prediction and reference
|
98 |
features=datasets.Features(
|
99 |
{
|
100 |
-
"predictions": datasets.Sequence(
|
101 |
-
datasets.Features(
|
102 |
-
{
|
103 |
-
"base": datasets.Value("string"),
|
104 |
-
"sfinae": datasets.Value("string"),
|
105 |
-
"concepts": datasets.Value("string"),
|
106 |
-
}
|
107 |
-
)
|
108 |
-
),
|
109 |
"references": datasets.Features(
|
110 |
{
|
111 |
"tests": datasets.Value("string"),
|
|
|
97 |
# This defines the format of each prediction and reference
|
98 |
features=datasets.Features(
|
99 |
{
|
100 |
+
"predictions": datasets.Sequence(datasets.Value("string")),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
"references": datasets.Features(
|
102 |
{
|
103 |
"tests": datasets.Value("string"),
|