venkatasg commited on
Commit
1be7967
·
1 Parent(s): 41ad560

No rounding for now

Browse files
Files changed (1) hide show
  1. gleu.py +1 -1
gleu.py CHANGED
@@ -240,6 +240,6 @@ class gleu(evaluate.Metric):
240
  iter_stats[j] = [sum(scores) for scores in zip(iter_stats[j], this_stats)]
241
 
242
  sent_scores = [gleu_calculator.compute_gleu(stats) for stats in iter_stats]
243
- mean_score = round(mean(sent_scores),2)
244
  std_score = round(std(sent_scores),2)
245
  return {"mean_gleu_score": mean_score}
 
240
  iter_stats[j] = [sum(scores) for scores in zip(iter_stats[j], this_stats)]
241
 
242
  sent_scores = [gleu_calculator.compute_gleu(stats) for stats in iter_stats]
243
+ mean_score = mean(sent_scores)
244
  std_score = round(std(sent_scores),2)
245
  return {"mean_gleu_score": mean_score}