jjkim
commited on
Commit
·
194785d
1
Parent(s):
dc264fe
- code_eval.py +3 -2
code_eval.py
CHANGED
|
@@ -145,8 +145,9 @@ class CodeEval(evaluate.Metric):
|
|
| 145 |
# This defines the format of each prediction and reference
|
| 146 |
features=datasets.Features(
|
| 147 |
{
|
| 148 |
-
|
| 149 |
-
"
|
|
|
|
| 150 |
}
|
| 151 |
),
|
| 152 |
homepage="https://github.com/openai/human-eval",
|
|
|
|
| 145 |
# This defines the format of each prediction and reference
|
| 146 |
features=datasets.Features(
|
| 147 |
{
|
| 148 |
+
# sequence of dictionaries
|
| 149 |
+
"predictions": datasets.Sequence(dict()),
|
| 150 |
+
"references": datasets.Sequence(dict()),
|
| 151 |
}
|
| 152 |
),
|
| 153 |
homepage="https://github.com/openai/human-eval",
|