modify features
Browse files
ecqa.py
CHANGED
@@ -101,8 +101,8 @@ class ecqa(evaluate.Metric):
|
|
101 |
inputs_description=_KWARGS_DESCRIPTION,
|
102 |
# This defines the format of each prediction and reference
|
103 |
features=datasets.Features({
|
104 |
-
'predictions': datasets.Value('
|
105 |
-
'references': datasets.Value('
|
106 |
}),
|
107 |
# Homepage of the module for documentation
|
108 |
homepage="http://module.homepage",
|
|
|
101 |
inputs_description=_KWARGS_DESCRIPTION,
|
102 |
# This defines the format of each prediction and reference
|
103 |
features=datasets.Features({
|
104 |
+
'predictions': datasets.Value('string'),
|
105 |
+
'references': datasets.Value('string'),
|
106 |
}),
|
107 |
# Homepage of the module for documentation
|
108 |
homepage="http://module.homepage",
|