jjkim commited on
Commit
96c951b
·
1 Parent(s): dfdefe9
Files changed (1) hide show
  1. code_eval.py +2 -3
code_eval.py CHANGED
@@ -145,9 +145,8 @@ class CodeEval(evaluate.Metric):
145
  # This defines the format of each prediction and reference
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",
 
145
  # This defines the format of each prediction and reference
146
  features=datasets.Features(
147
  {
148
+ "predictions": defaultdict(lambda: datasets.Value("string")),
149
+ "references": defaultdict(lambda: datasets.Value("string")),
 
150
  }
151
  ),
152
  homepage="https://github.com/openai/human-eval",