MT Metrics Thresholds

Code for Navigating the Metrics Maze: Reconciling Score Magnitudes and Accuracies by Tom Kocmi, Vilém Zouhar, Christian Federmann, and Matt Post.
@inproceedings{kocmi-etal-2024-navigating,
title = "Navigating the Metrics Maze: Reconciling Score Magnitudes and Accuracies",
author = "Kocmi, Tom and Zouhar, Vil{\'e}m and Federmann, Christian and Post, Matt",
editor = "Ku, Lun-Wei and Martins, Andre and Srikumar, Vivek",
booktitle = "Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
month = aug,
year = "2024",
address = "Bangkok, Thailand",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2024.acl-long.110",
doi = "10.18653/v1/2024.acl-long.110",
pages = "1999--2014",
}
Web frontend
See the MT thresholds tool.
Local tool
pip3 install mt-thresholds
# accuracy is 63.989%
mt-thresholds bleu 1.00
# ChrF needs 0.710 difference for the same accuracy as BLEU
mt-thresholds chrf 0.63989 --delta
Or use from Python:
import mt_thresholds
mt_thresholds.accuracy(1.0, "bleu") # 0.63989
mt_thresholds.delta(0.63989, "chrf") # 0.665
Experiment code
We plan to release the code for replicating WMT results in upcoming months.
Release files for mt-thresholds 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mt_thresholds-1.0.4.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mt_thresholds-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / mt_thresholds-1.0.4.tar.gz
| Download URL | mt_thresholds-1.0.4.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c1288a41437001d6f668a2ff33d498fa93b1b93c67e02c1ed2b520ef9561fa0
|
|
BLAKE2b-256 checksum How to use checksums |
25072dc668e2c74bd63a3fbfc6c93803dd93f9261ac24c5aef62272a2dba3b26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|
Release files / mt_thresholds-1.0.4-py3-none-any.whl
| Download URL | mt_thresholds-1.0.4-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91bbd53edef1ab94018948583d360ae899b106918f7099796eb7e430d1e72a79
|
|
BLAKE2b-256 checksum How to use checksums |
0dfcc335f623aa160f40cc6fc8b9af3a57ddaa796fca0cbd33ef82395be13e74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.5
|