Josh98 commited on
Commit
28bbd1a
1 Parent(s): 04a0234
Files changed (1) hide show
  1. nl2bash_m.py +14 -6
nl2bash_m.py CHANGED
@@ -85,12 +85,20 @@ class nl2bash_m(evaluate.Metric):
85
  description=_DESCRIPTION,
86
  citation=_CITATION,
87
  inputs_description=_KWARGS_DESCRIPTION,
88
- features=datasets.Features(
89
- {
90
- "predictions": datasets.Value("string", id="sequence"),
91
- "references": datasets.Value("string", id="sequence"),
92
- }
93
- ),
 
 
 
 
 
 
 
 
94
  reference_urls=[],
95
  )
96
 
 
85
  description=_DESCRIPTION,
86
  citation=_CITATION,
87
  inputs_description=_KWARGS_DESCRIPTION,
88
+ features=[
89
+ datasets.Features(
90
+ {
91
+ "predictions": datasets.Value("string", id="sequence"),
92
+ "references": datasets.Sequence(datasets.Value("string", id="sequence"), id="references"),
93
+ }
94
+ ),
95
+ datasets.Features(
96
+ {
97
+ "predictions": datasets.Value("string", id="sequence"),
98
+ "references": datasets.Value("string", id="sequence"),
99
+ }
100
+ ),
101
+ ],
102
  reference_urls=[],
103
  )
104