I have the following error when performing evaluation using CodeBleu in my HuggingFace training loop. Do you know what the issue could be?
[cut from longer output]
result = metric.compute(predictions=decoder_preds, references=decoder_labels, lang=lang)
File "/usr/local/lib/python3.9/dist-packages/evaluate/module.py", line 462, in compute
output = self._compute(**inputs, **compute_kwargs)
File "/notebooks/cache/huggingface/modules/evaluate_modules/metrics/k4black--codebleu/0510675d8d105d7f64b0458864c7f4b7ec3995ff230e89d27d92b9a7a635654d/codebleu.py", line 113, in _compute
return self.codebleu_package.calc_codebleu(
AttributeError: module 'codebleu' has no attribute 'calc_codebleu'
Hi @k4black ,
I have the following error when performing evaluation using CodeBleu in my HuggingFace training loop. Do you know what the issue could be?