examples/research_projects/seq2seq-distillation/finetune.py/TranslationModule/calc_generative_metrics
class TranslationModule:    def calc_generative_metrics(self, preds, target) -> dict:
        return calculate_bleu(preds, target)