lvwerra HF staff commited on
Commit
81a0594
1 Parent(s): e3742c7

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +2 -1
test.py CHANGED
@@ -63,8 +63,9 @@ class test(evaluate.EvaluationModule):
63
 
64
  def _info(self):
65
  # TODO: Specifies the evaluate.MetricInfo object
66
- return evaluate.EvaluationModule(
67
  # This is the description that will appear on the metrics page.
 
68
  description=_DESCRIPTION,
69
  citation=_CITATION,
70
  inputs_description=_KWARGS_DESCRIPTION,
 
63
 
64
  def _info(self):
65
  # TODO: Specifies the evaluate.MetricInfo object
66
+ return evaluate.EvaluationModuleInfo(
67
  # This is the description that will appear on the metrics page.
68
+ type="metric",
69
  description=_DESCRIPTION,
70
  citation=_CITATION,
71
  inputs_description=_KWARGS_DESCRIPTION,