Skip to content

Conversation

@albertvillanova
Copy link
Member

@albertvillanova albertvillanova commented Aug 10, 2021

Last sacrebleu release (v2.0.0) has removed sacrebleu.DEFAULT_TOKENIZER: https://github.com/mjpost/sacrebleu/pull/152/files#diff-2553a315bb1f7e68c9c1b00d56eaeb74f5205aeb3a189bc3e527b122c6078795L17-R15

This PR does not pass tokenize to sacrebleu (note that the user cannot pass it anyway) and sacrebleu will use its default, no matter where it is and how it is called.

Related to #2739.

This is a partial hotfix of #2781.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Latest v2.0.0 release of sacrebleu has broken some metrics

1 participant