Downloads · 30 days
0
wasanx/ComeTH
ComeTH is a translation model from wasanx. Use it when you need text moved from one language to another. It is set up for unbabel-comet. The card lists the license as other.
ComeTH is a fine-tuned version of the COMET (Crosslingual Optimized Metric for Evaluation of Translation) model specifically optimized for English-Thai translation quality assessment. This model evaluates machine tran…
Downloads · 30 days
0
Access
Public
Updated May 22, 2025
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
ComeTH is a fine-tuned version of the COMET (Crosslingual Optimized Metric for Evaluation of Translation) model specifically optimized for English-Thai translation quality assessment. This model evaluates machine translation outputs by providing quality scores that correlate highly with human judgments.
We offer two variants of ComeTH with different training approaches:
Both models outperform the base COMET model (Spearman's ρ = 0.4570) on English-Thai translation evaluation. The Claude-augmented version leverages LLM-generated annotations to enhance correlation with human judgments by 4.9% over the baseline.
The models were trained on:
ComeTH was trained using a multi-step process:
| Model | Spearman's ρ | RMSE |
|---|---|---|
| COMET (baseline) | 0.4570 | 0.3185 |
| ComeTH (human annotations) | 0.4639 | 0.3093 |
| ComeTH-Augmented (human + Claude) | 0.4795 | 0.3078 |
The Claude-augmented version demonstrates the highest correlation with human judgments, offering a significant improvement over both the baseline and human-only models.
| Model | Spearman's ρ |
|---|---|
| ComeTH-Augmented | 0.4795 |
| Claude 3.5 Sonnet | 0.4383 |
| GPT-4o Mini | 0.4352 |
| Gemini 2.0 Flash | 0.3918 |
ComeTH-Augmented outperforms direct evaluations from state-of-the-art LLMs, while being more computationally efficient for large-scale translation quality assessments.
from comet import download_model, load_from_checkpoint
model_path = download_model("wasanx/ComeTH")
model = load_from_checkpoint(model_path)
translations = [
{
"src": "This is an English source text.",
"mt": "นี่คือข้อความภาษาอังกฤษ",
}
]
results = model.predict(translations, batch_size=8, gpus=1)
scores = results['scores']
import pandas as pd
from tqdm import tqdm
df = pd.read_csv("translations.csv")
input_data = df[['src', 'mt']].to_dict('records')
batch_size = 32
all_scores = []
for i in tqdm(range(0, len(input_data), batch_size)):
batch = input_data[i:i+batch_size]
results = model.predict(batch, batch_size=len(batch), gpus=1)
all_scores.extend(results['scores'])
df['quality_score'] = all_scores
import numpy as np
systems = df.groupby('system_name')['quality_score'].agg(['mean', 'std', 'count']).reset_index()
systems = systems.sort_values('mean', ascending=False)
print(systems)
@misc{
title = {COMETH: English-Thai Translation Quality Metrics},
author = {COMETH Team},
year = {2025},
howpublished = {Hugging Face Model Repository},
url = {https://huggingface.co/wasanx/ComeTH}
}
For questions or feedback: comethteam@gmail.com
The COMETH Reserved License
Cometh English-to-Thai Translation Data and Model License
Copyright (C) Cometh Team. All rights reserved.
This license governs the use of the Cometh English-to-Thai translation data and model ("Cometh Model Data"), including but not limited to MQM scores, human translations, and human rankings from various translation sources.
Permitted Use
The Cometh Model Data is licensed exclusively for internal use by the designated Cometh team.
Prohibited Use
The following uses are strictly prohibited:
1. Any usage outside the designated purposes unanimously approved by the Cometh team.
2. Redistribution, sharing, or distribution of the Cometh Model Data in any form.
3. Citation or public reference to the Cometh Model Data in any academic, commercial, or non-commercial context.
4. Any use beyond the internal operations of the Cometh team.
Legal Enforcement
Unauthorized use, distribution, or citation of the Cometh Model Data constitutes a violation of this license and may result in legal action, including but not limited to prosecution under applicable laws.
Reservation of Rights
All rights to the Cometh Model Data are reserved by the Cometh team. This license does not transfer any ownership rights.
By accessing or using the Cometh Model Data, you agree to be bound by the terms of this license.