Upload metric.py with huggingface_hub
Browse files
metric.py
CHANGED
@@ -119,7 +119,7 @@ UNITXT_METRIC_SCHEMA = Features({"predictions": Value("string"), "references": d
|
|
119 |
|
120 |
|
121 |
# @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
122 |
-
class
|
123 |
def _info(self):
|
124 |
return evaluate.MetricInfo(
|
125 |
description="_DESCRIPTION",
|
|
|
119 |
|
120 |
|
121 |
# @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
122 |
+
class Metric(evaluate.Metric):
|
123 |
def _info(self):
|
124 |
return evaluate.MetricInfo(
|
125 |
description="_DESCRIPTION",
|