Update codebleu.py
Browse files- codebleu.py +1 -1
codebleu.py
CHANGED
@@ -77,7 +77,7 @@ class CodeBLEU(evaluate.Metric):
|
|
77 |
# This defines the format of each prediction and reference
|
78 |
features=datasets.Features({
|
79 |
'predictions': datasets.Value('string'),
|
80 |
-
'references': datasets.Value(
|
81 |
}),
|
82 |
# Homepage of the module for documentation
|
83 |
homepage="http://module.homepage",
|
|
|
77 |
# This defines the format of each prediction and reference
|
78 |
features=datasets.Features({
|
79 |
'predictions': datasets.Value('string'),
|
80 |
+
'references': datasets.Sequence(datasets.Value("string")),
|
81 |
}),
|
82 |
# Homepage of the module for documentation
|
83 |
homepage="http://module.homepage",
|