Spaces:
Running
Running
seonil
commited on
Commit
•
ac939ac
1
Parent(s):
dbb453d
typo
Browse files- harim_plus.py +1 -1
harim_plus.py
CHANGED
@@ -118,7 +118,7 @@ class Harimplus(evaluate.Metric):
|
|
118 |
"Refrain from using checkpoints trained on noisy corpus such as bbc-XSUM.")
|
119 |
|
120 |
# download the model checkpoint specified by self.myconfig_name and set up the scorer
|
121 |
-
self.scorer =
|
122 |
|
123 |
def _compute(self, predictions=None,
|
124 |
references=None,
|
|
|
118 |
"Refrain from using checkpoints trained on noisy corpus such as bbc-XSUM.")
|
119 |
|
120 |
# download the model checkpoint specified by self.myconfig_name and set up the scorer
|
121 |
+
self.scorer = Harimplus_Scorer(**self.myconfig)
|
122 |
|
123 |
def _compute(self, predictions=None,
|
124 |
references=None,
|