Spaces:
Sleeping
Sleeping
bascobasculino
commited on
Commit
•
0806513
1
Parent(s):
5f754d3
- my_metricv2.py +2 -2
my_metricv2.py
CHANGED
@@ -73,10 +73,10 @@ class MyMetricv2(evaluate.Metric):
|
|
73 |
# This defines the format of each prediction and reference
|
74 |
features=datasets.Features({
|
75 |
"predictions": [
|
76 |
-
datasets.Value("float32")
|
77 |
],
|
78 |
"references": [
|
79 |
-
datasets.Value("float32")
|
80 |
],
|
81 |
}),
|
82 |
# Homepage of the module for documentation
|
|
|
73 |
# This defines the format of each prediction and reference
|
74 |
features=datasets.Features({
|
75 |
"predictions": [
|
76 |
+
[datasets.Value("float32"), datasets.Value("float32"), datasets.Value("float32"), datasets.Value("float32")]
|
77 |
],
|
78 |
"references": [
|
79 |
+
[datasets.Value("float32"), datasets.Value("float32"), datasets.Value("float32"), datasets.Value("float32")]
|
80 |
],
|
81 |
}),
|
82 |
# Homepage of the module for documentation
|