Contents

sacrebleu 2.4.1

0

Hassle-free computation of shareable, comparable, and reproducible BLEU, chrF, and TER scores

Hassle-free computation of shareable, comparable, and reproducible BLEU, chrF, and TER scores

Stars: 962, Watchers: 962, Forks: 150, Open Issues: 22

The mjpost/sacrebleu repo was created 6 years ago and the last code push was 1 weeks ago.
The project is popular with 962 github stars!

How to Install sacrebleu

You can install sacrebleu using pip

pip install sacrebleu

or add it to a project with poetry

poetry add sacrebleu

Package Details

Author
Matt Post
License
Apache License 2.0
Homepage
https://github.com/mjpost/sacrebleu
PyPi:
https://pypi.org/project/sacrebleu/
GitHub Repo:
https://github.com/mjpost/sacrebleu

Classifiers

  • Scientific/Engineering
  • Scientific/Engineering/Artificial Intelligence
  • Text Processing
No  sacrebleu  pypi packages just yet.

Errors

A list of common sacrebleu errors.

Code Examples

Here are some sacrebleu code examples and snippets.

GitHub Issues

The sacrebleu package has 22 open issues on GitHub

  • Inconsistent scores between loop and separate check
  • fix #225: Empty lines in WMT21/dev Icelandic-English
  • Unicode normalization?
  • Silent failure with incorrect reference format in Python API
  • Remove the flores101 related tokenizer logging message when the selected tokenizer is flores200

See more issues on GitHub