Tool to guide you through reporting the use of COMET for machine translation evaluation.
Project description
SacreCOMET
The tool has two functionalities. First, it creates a signature with your setup and COMET model:
pip install sacrecomet
# Without anything will try to detect the local environment and will
# ask you questions about which COMET model you used.
# Example output: Python3.11.8|Comet2.2.2|fp32|unite-mup
sacrecomet
# Arguments can also be specified non-interactively:
sacrecomet --model unite-mup --prec fp32
The other functionality is to find specific citations for COMET models that you're using:
sacrecomet cite Unbabel/xcomet-xl
https://arxiv.org/abs/2310.10482
@misc{guerreiro2023xcomet,
title={xCOMET: Transparent Machine Translation Evaluation through Fine-grained Error Detection},
...
Please open an issue/pull request in the repository if you wish to add models/functionality.
Changelog
- v0.1.0 (30 October 2024):
- Add
list
command to list available models - Add references usage to the SacreCOMET usage.
- Deprecate
sacrecomet cite model_name
positional model name specification. Citations now have to explicitly use the--model
argument.
- Add
- v0.0.1 (7 August 2024)
- First release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sacrecomet-0.1.0.tar.gz
(10.2 kB
view details)
Built Distribution
File details
Details for the file sacrecomet-0.1.0.tar.gz
.
File metadata
- Download URL: sacrecomet-0.1.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43304abc837f706e8052ae27eda8123c23091852c8a751d16f41f6048ec62d96 |
|
MD5 | e5c5232851274cc567334ca3b874ea7c |
|
BLAKE2b-256 | 523430cefb6e66d9af963c57ca00a1dacf33ed235c75661e4d6481dd53bc5fac |
File details
Details for the file sacrecomet-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: sacrecomet-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 597a3c1208155b215f03038d635038407d340eda004f1eb02a69989f7c750847 |
|
MD5 | 2578a7f26c3b1c52f7773991b13139e9 |
|
BLAKE2b-256 | a7a35318afdc737aff118e47cf126ecc3fa9f9d350be5844efe49385116d5beb |