lvwerra HF staff commited on
Commit
1478490
1 Parent(s): bd951d3

Update Space (evaluate main: a45df1eb)

Browse files
Files changed (1) hide show
  1. f1.py +2 -2
f1.py CHANGED
@@ -97,9 +97,9 @@ _CITATION = """
97
 
98
 
99
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
100
- class F1(evaluate.EvaluationModule):
101
  def _info(self):
102
- return evaluate.EvaluationModuleInfo(
103
  description=_DESCRIPTION,
104
  citation=_CITATION,
105
  inputs_description=_KWARGS_DESCRIPTION,
 
97
 
98
 
99
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
100
+ class F1(evaluate.Metric):
101
  def _info(self):
102
+ return evaluate.MetricInfo(
103
  description=_DESCRIPTION,
104
  citation=_CITATION,
105
  inputs_description=_KWARGS_DESCRIPTION,