Instructions to use eole-nlp/xcomet-xl-eole with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- COMET
How to use eole-nlp/xcomet-xl-eole with COMET:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
xCOMET XL (EOLE)
This is Unbabel/XCOMET-XL converted to EOLE format.
No model weights were modified. This repository contains a format conversion for use with EOLE's native transformer_encoder_scorer implementation.
This is not an upstream unbabel-comet checkpoint layout. Use it with EOLE.
Model Details
| Original model | Unbabel/XCOMET-XL |
| EOLE architecture | transformer_encoder_scorer |
| Scoring type | comet |
| Class identifier | xcomet_metric |
| EOLE scorer | EOLE-XCOMET |
| Requires reference | Yes |
| Encoder | XLM-R XL style encoder |
Usage
Requires an EOLE version with native xCOMET scorer support.
Validation Metric
valid_metrics: ["EOLE-XCOMET"]
comet_model: eole-nlp/xcomet-xl-eole
comet_batch_size: 16
Direct Scoring
eole predict emits scalar xCOMET scores. xCOMET span metadata is available internally through EOLE's predict_xcomet(...) path and the parity harness.
eole predict \
--model_path eole-nlp/xcomet-xl-eole \
--src /path/to/src.txt \
--tgt /path/to/mt.txt \
--ref /path/to/ref.txt \
--output /path/to/scores.txt \
--with_score
By default, direct scoring writes one segment score per input line. To emit a
single aggregate system score, add --score_level system:
eole predict \
--model_path eole-nlp/xcomet-xl-eole \
--src /path/to/src.txt \
--tgt /path/to/mt.txt \
--ref /path/to/ref.txt \
--output /path/to/system-score.txt \
--with_score \
--score_level system
score_level: system writes one numeric line containing the arithmetic mean of
the segment scores, similar to Unbabel COMET's --only_system mode but using
EOLE's score-file format.
Conversion
Converted with:
eole convert COMET \
--model Unbabel/XCOMET-XL \
--output xcomet-xl-eole
Parity
This conversion was parity-checked against the upstream Unbabel COMET runtime. On a 100-line WMT17 slice, native EOLE scoring matched the upstream baseline within floating point tolerance:
| Metric | Value |
|---|---|
| System score delta | 3.50e-07 |
| Sentence MAE | 6.74e-07 |
| Sentence max abs | 3.34e-06 |
| MQM score max abs | 0.0 |
| Span sentence mismatches | 0 |
Original Model and Attribution
This model is a conversion of Unbabel/XCOMET-XL. The model weights were converted without modification.
This converted repository follows the upstream model license: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC-BY-NC-SA-4.0). Use is subject to the upstream non-commercial, attribution, and share-alike terms. Please refer to the original model card and license for training data, intended use, limitations, and citation details.
Unbabel COMET: https://github.com/Unbabel/COMET
- Downloads last month
- 15