Spaces:
Sleeping
Sleeping
Update Space (evaluate main: c447fc8e)
Browse files- competition_math.py +1 -4
- requirements.txt +1 -1
competition_math.py
CHANGED
@@ -67,14 +67,11 @@ Examples:
|
|
67 |
class CompetitionMathMetric(evaluate.Metric):
|
68 |
"""Accuracy metric for the MATH dataset."""
|
69 |
|
70 |
-
|
71 |
-
|
72 |
-
def _info(self, config):
|
73 |
return evaluate.MetricInfo(
|
74 |
description=_DESCRIPTION,
|
75 |
citation=_CITATION,
|
76 |
inputs_description=_KWARGS_DESCRIPTION,
|
77 |
-
config=config,
|
78 |
features=datasets.Features(
|
79 |
{
|
80 |
"predictions": datasets.Value("string"),
|
|
|
67 |
class CompetitionMathMetric(evaluate.Metric):
|
68 |
"""Accuracy metric for the MATH dataset."""
|
69 |
|
70 |
+
def _info(self):
|
|
|
|
|
71 |
return evaluate.MetricInfo(
|
72 |
description=_DESCRIPTION,
|
73 |
citation=_CITATION,
|
74 |
inputs_description=_KWARGS_DESCRIPTION,
|
|
|
75 |
features=datasets.Features(
|
76 |
{
|
77 |
"predictions": datasets.Value("string"),
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
git+https://github.com/huggingface/evaluate@
|
2 |
git+https://github.com/hendrycks/math.git
|
|
|
1 |
+
git+https://github.com/huggingface/evaluate@c447fc8eda9c62af501bfdc6988919571050d950
|
2 |
git+https://github.com/hendrycks/math.git
|