github-actions commited on
Commit
b037f19
1 Parent(s): 22fbc77

Auto files update [0.3.0]

Browse files
Files changed (1) hide show
  1. codebleu.py +1 -1
codebleu.py CHANGED
@@ -106,7 +106,7 @@ class codebleu(evaluate.Metric):
106
  def _download_and_prepare(self, dl_manager):
107
  """Optional: download external resources useful to compute the scores"""
108
  # workarounds as this file have to be named codebleu (evaluate library requirement)
109
- self.codebleu_package = importlib.import_module('codebleu')
110
  pass
111
 
112
  def _compute(self, predictions, references, lang, weights=(0.25, 0.25, 0.25, 0.25), tokenizer=None):
 
106
  def _download_and_prepare(self, dl_manager):
107
  """Optional: download external resources useful to compute the scores"""
108
  # workarounds as this file have to be named codebleu (evaluate library requirement)
109
+ self.codebleu_package = importlib.import_module("codebleu")
110
  pass
111
 
112
  def _compute(self, predictions, references, lang, weights=(0.25, 0.25, 0.25, 0.25), tokenizer=None):