jjkim
commited on
Commit
·
f9a7096
1
Parent(s):
5454ac7
- code_eval.py +2 -2
code_eval.py
CHANGED
@@ -146,8 +146,8 @@ class CodeEval(evaluate.Metric):
|
|
146 |
features=datasets.Features(
|
147 |
{
|
148 |
# sequence of dictionaries
|
149 |
-
"predictions": datasets.Sequence(defaultdict(
|
150 |
-
"references": datasets.Sequence(defaultdict(
|
151 |
}
|
152 |
),
|
153 |
homepage="https://github.com/openai/human-eval",
|
|
|
146 |
features=datasets.Features(
|
147 |
{
|
148 |
# sequence of dictionaries
|
149 |
+
"predictions": datasets.Sequence(defaultdict(lambda: None)),
|
150 |
+
"references": datasets.Sequence(defaultdict(lambda: None)),
|
151 |
}
|
152 |
),
|
153 |
homepage="https://github.com/openai/human-eval",
|