transZ commited on
Commit
4fdef25
1 Parent(s): c17c1ab
Files changed (1) hide show
  1. test_parascore.py +1 -1
test_parascore.py CHANGED
@@ -128,7 +128,7 @@ class test_parascore(evaluate.Metric):
128
  sbert_score = [round(v, 2) for v in score['score']]
129
  diversity = self._diverse(predictions, references, lang)
130
 
131
- score = [s + 0.05 * d for s, d in zip(bert_score, diversity)]
132
  return {
133
  "score": score,
134
  }
 
128
  sbert_score = [round(v, 2) for v in score['score']]
129
  diversity = self._diverse(predictions, references, lang)
130
 
131
+ score = [s + 0.05 * d for s, d in zip(sbert_score, diversity)]
132
  return {
133
  "score": score,
134
  }