Closed michelleqyhqyh closed 2 years ago
The s-BLEU is calcuated per sentence, while the d-BLEU is per document. The detailed algorithm can be found in fairseq_cli/generate.py where the scorer is for s-BLEU and scorer_doc is for d-BLEU.
Thank you very much!
The s-BLEU is calcuated per sentence, while the d-BLEU is per document. The detailed algorithm can be found in fairseq_cli/generate.py where the scorer is for s-BLEU and scorer_doc is for d-BLEU.