Spaces:
Running
Running
Update Space (evaluate main: c447fc8e)
Browse files- bleurt.py +1 -4
- requirements.txt +1 -1
bleurt.py
CHANGED
@@ -78,16 +78,13 @@ CHECKPOINT_URLS = {
|
|
78 |
|
79 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
80 |
class BLEURT(evaluate.Metric):
|
81 |
-
|
82 |
-
|
83 |
-
def _info(self, config):
|
84 |
|
85 |
return evaluate.MetricInfo(
|
86 |
description=_DESCRIPTION,
|
87 |
citation=_CITATION,
|
88 |
homepage="https://github.com/google-research/bleurt",
|
89 |
inputs_description=_KWARGS_DESCRIPTION,
|
90 |
-
config=config,
|
91 |
features=datasets.Features(
|
92 |
{
|
93 |
"predictions": datasets.Value("string", id="sequence"),
|
|
|
78 |
|
79 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
80 |
class BLEURT(evaluate.Metric):
|
81 |
+
def _info(self):
|
|
|
|
|
82 |
|
83 |
return evaluate.MetricInfo(
|
84 |
description=_DESCRIPTION,
|
85 |
citation=_CITATION,
|
86 |
homepage="https://github.com/google-research/bleurt",
|
87 |
inputs_description=_KWARGS_DESCRIPTION,
|
|
|
88 |
features=datasets.Features(
|
89 |
{
|
90 |
"predictions": datasets.Value("string", id="sequence"),
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
git+https://github.com/huggingface/evaluate@
|
2 |
git+https://github.com/google-research/bleurt.git
|
|
|
1 |
+
git+https://github.com/huggingface/evaluate@c447fc8eda9c62af501bfdc6988919571050d950
|
2 |
git+https://github.com/google-research/bleurt.git
|