This model is based on COMET-early-exit, which is a fork but not compatible with original Unbabel's COMET.
To run the model, you need to first install this version of COMET either with:
This model is described in the appendix in the paper.
It is able to score even incomplete translations (i.e. prefixes of translations):
python
1import comet_early_exit
2model = comet_early_exit.load_from_checkpoint(comet_early_exit.download_model("zouharvi/COMET-partial"))3data =[4{5"src":"I want to receive my food in 10 to 15 minutes.",6"mt":"Ich werde",7},8{9"src":"I want to receive my food in 10 to 15 minutes.",10"mt":"Ich möchte",11},12{13"src":"I want to receive my food in 10 to 15 minutes.",14"mt":"Ich möchte mein Essen in",15},16{17"src":"I want to receive my food in 10 to 15 minutes.",18"mt":"Ich möchte mein Essen in 10 bis 15 Minuten erhalten.",19},20{21"src":"I want to receive my food in 10 to 15 minutes.",22"mt":"Ich möchte mein Essen in 10 bis 15 Minuten bekommen.",23}24]25model_output = model.predict(data, batch_size=8, gpus=1)26print("scores", model_output["scores"])
@misc{zouhar2025earlyexitinstantconfidencetranslation,
title={Early-Exit and Instant Confidence Translation Quality Estimation},
author={Vilém Zouhar and Maike Züfle and Beni Egressy and Julius Cheng and Jan Niehues},
year={2025},
eprint={2502.14429},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2502.14429},
}