Spaces:
Runtime error
Runtime error
Altro fix
Browse files- metrica_tesi.py +2 -2
metrica_tesi.py
CHANGED
@@ -79,8 +79,8 @@ class MetricaTesi(evaluate.Metric):
|
|
79 |
# This defines the format of each prediction and reference
|
80 |
features=datasets.Features(
|
81 |
{
|
82 |
-
"predictions": datasets.Value("
|
83 |
-
"references": datasets.Value("
|
84 |
}
|
85 |
),
|
86 |
# Homepage of the module for documentation
|
|
|
79 |
# This defines the format of each prediction and reference
|
80 |
features=datasets.Features(
|
81 |
{
|
82 |
+
"predictions": datasets.Value("string", id="sequence"),
|
83 |
+
"references": datasets.Value("string", id="sequence"),
|
84 |
}
|
85 |
),
|
86 |
# Homepage of the module for documentation
|