dvitel commited on
Commit
f8862f7
β€’
1 Parent(s): 9aeec98

fix back metadata

Browse files
Files changed (1) hide show
  1. codebleu.py +6 -6
codebleu.py CHANGED
@@ -84,12 +84,12 @@ class codebleu(evaluate.Metric):
84
  citation=_CITATION,
85
  inputs_description=_KWARGS_DESCRIPTION,
86
  features=[
87
- # datasets.Features(
88
- # {
89
- # "predictions": datasets.Value("string", id="sequence"),
90
- # "references": datasets.Sequence(datasets.Value("string", id="sequence"), id="references"),
91
- # }
92
- # ),
93
  datasets.Features(
94
  {
95
  "predictions": datasets.Value("string", id="sequence"),
 
84
  citation=_CITATION,
85
  inputs_description=_KWARGS_DESCRIPTION,
86
  features=[
87
+ datasets.Features(
88
+ {
89
+ "predictions": datasets.Value("string", id="sequence"),
90
+ "references": datasets.Sequence(datasets.Value("string", id="sequence"), id="references"),
91
+ }
92
+ ),
93
  datasets.Features(
94
  {
95
  "predictions": datasets.Value("string", id="sequence"),