Downloads · 30 days
3
14% of all-time downloads
AdleBenSalem/wmt22-comet-da-paragraph-biomqm
wmt22-comet-da-paragraph-biomqm is a machine learning model from AdleBenSalem. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for comet. The card lists the license as apache-2.0.
Unbabel/wmt22-comet-da continued on paragraph-level data — a reference-based COMET metric fine-tuned on multi-sentence translation windows, for research on how learned MT metrics behave on inputs longer than one sente…
Downloads · 30 days
3
14% of all-time downloads
All-time downloads
21
Public
Repo size
2.3 GB
Likes
0
Public
Click a slice to open those files.
.ckpt2.3 GB · 100%
From the Hugging Face model README
Unbabel/wmt22-comet-da continued on paragraph-level data — a reference-based COMET metric fine-tuned on multi-sentence translation windows, for research on how learned MT metrics behave on inputs longer than one sentence.
Unbabel/wmt22-comet-da (XLM-R large encoder, regression head).max_epochs unbounded with
early stopping on validation Kendall τ (patience 20). The run trained
25 epochs and this checkpoint is the best one (epoch 5,
val Kendall τ = 0.362 on the held-out paragraph windows, all k pooled).from huggingface_hub import snapshot_download
from comet import load_from_checkpoint # pip install unbabel-comet
path = snapshot_download("AdleBenSalem/wmt22-comet-da-paragraph-biomqm")
model = load_from_checkpoint(f"{path}/checkpoints/model.ckpt")
data = [{"src": "...", "mt": "...", "ref": "..."}] # sentences OR paragraphs
print(model.predict(data, batch_size=8, gpus=1).scores)
wmt22-comet-da.Please cite COMET and Bio-MQM:
@inproceedings{rei-etal-2022-comet,
title = "{COMET}-22: Unbabel-{IST} 2022 Submission for the Metrics Shared Task",
author = "Rei, Ricardo and C. de Souza, Jos{\'e} G. and Alves, Duarte and
Zerva, Chrysoula and Farinha, Ana C and Glushkova, Taisiya and
Lavie, Alon and Coheur, Luisa and Martins, Andr{\'e} F. T.",
booktitle = "Proceedings of the Seventh Conference on Machine Translation (WMT)",
year = "2022"
}
@inproceedings{zouhar-etal-2024-fine,
title = "Fine-Tuned Machine Translation Metrics Struggle in Unseen Domains",
author = "Zouhar, Vil{\'e}m and Ding, Shuoyang and Currey, Anna and
Badeka, Tatyana and Wang, Jenyuan and Thompson, Brian",
booktitle = "Proceedings of ACL 2024 (Short Papers)",
year = "2024",
note = "arXiv:2402.18747"
}