# 需要導入模塊: import sacrebleu [as 別名]# 或者: from sacrebleu importcompute_bleu[as 別名]deftest_degenerate_statistics(statistics, offset, expected_score):score = sacrebleu.compute_bleu(statistics[0].common, statistics[0].total, statistics[1], statistics[2], smooth_method='floor', smooth_va...