jjkim commited on
Commit
dfdefe9
·
1 Parent(s): f9a7096
Files changed (1) hide show
  1. 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(lambda: None)),
150
- "references": datasets.Sequence(defaultdict(lambda: None)),
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: datasets.Value("string"))),
150
+ "references": datasets.Sequence(defaultdict(lambda: datasets.Value("string"))),
151
  }
152
  ),
153
  homepage="https://github.com/openai/human-eval",