Downloads · 30 days
54
33% of all-time downloads
KordAI/Kord-Translate-MBART50-ENTH-V2
Kord-Translate-MBART50-ENTH-V2 is a translation model from KordAI. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as mit.
This model is a fine-tuned version of facebook/mbart-large-50-many-to-many-mmt for Thai–English bidirectional translation. It was developed as part of the rationale-free distillation study described in the paper "Teac…
Downloads · 30 days
54
33% of all-time downloads
All-time downloads
165
Public
Parameters
611M
1.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 99%
From the Hugging Face model README
This model is a fine-tuned version of facebook/mbart-large-50-many-to-many-mmt for Thai–English bidirectional translation. It was developed as part of the rationale-free distillation study described in the paper "Teaching the Student to Skip the Homework: Rationale-Free Distillation for Thai-English Translation".
Despite being trained on only ~8,000 distilled pairs, this model achieves competitive performance with purpose-built Thai–English systems (Typhoon Translate, ChindaMT) on BLEU and COMET metrics, particularly in the Thai→English direction.
| Attribute | Value |
|---|---|
| Developed by | KordAI (Naphon Jangjit, Jeerawat Komsang, Kord C. Boran) |
| Model type | Sequence-to-Sequence (Transformer encoder-decoder) |
| Base model | facebook/mbart-large-50-many-to-many-mmt |
| Languages | Thai (th_TH) and English (en_XX) |
| License | MIT |
| Paper | Jangjit et al. (2026) |
mBART-50 is a multilingual sequence-to-sequence model pretrained on 50 languages. This variant is fully fine-tuned on approximately 8,000 rationale-free distilled translation pairs generated by DeepSeek-V4-Flash, covering both English→Thai and Thai→English directions.
"Rationale-free" means that while the teacher model (DeepSeek-V4-Flash) was prompted to reason through a multi-step translation procedure (identifying word senses, classifying register, selecting honorifics, and rewriting naturally), only the final translation was retained for student training. The student never sees the teacher's reasoning trace—only the final output.
This model is intended for Thai–English machine translation in both directions. It is suitable for:
from transformers import pipeline
translator = pipeline(
"translation",
model="KordAI/Kord-Translate-MBART50-ENTH-V2",
tokenizer="KordAI/Kord-Translate-MBART50-ENTH-V2",
src_lang="en_XX",
tgt_lang="th_TH"
)
# English → Thai
result = translator("Ring also settled a lawsuit with competing security company, the ADT Corporation.")
print(result[0]['translation_text'])
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
model = AutoModelForSeq2SeqLM.from_pretrained("KordAI/Kord-Translate-MBART50-ENTH-V2")
tokenizer = AutoTokenizer.from_pretrained("KordAI/Kord-Translate-MBART50-ENTH-V2")
# English → Thai
src_text = "Ring also settled a lawsuit with competing security company, the ADT Corporation."
inputs = tokenizer(src_text, return_tensors="pt", src_lang="en_XX")
forced_bos_token_id = tokenizer.lang_code_to_id["th_TH"]
outputs = model.generate(**inputs, forced_bos_token_id=forced_bos_token_id)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
# Thai → English
src_text = "ริงยังได้ดำเนินการระงับข้อพิพาทกับบริษัทรักษาความปลอดภัย ADT Corporation ซึ่งเป็นคู่แข่งอีกด้วย"
inputs = tokenizer(src_text, return_tensors="pt", src_lang="th_TH")
forced_bos_token_id = tokenizer.lang_code_to_id["en_XX"]
outputs = model.generate(**inputs, forced_bos_token_id=forced_bos_token_id)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model was fine-tuned on a rationale-free distillation dataset of approximately 8,000 bidirectional pairs (~4,000 per direction). Source text was drawn from nine corpora spanning formal and informal registers:
| Corpus | Language |
|---|---|
| English Wikipedia | English |
| Thai Wikipedia | Thai |
| BookCorpus | English |
| ONET M6 (Thai secondary-school exams) | Thai |
| Thai legal text corpus | Thai |
| Thai IT-book corpus | Thai |
| Thai toxic-text corpus | Thai |
| English arXiv-summarization corpus | English |
| Pantip (Thai QA forum) | Thai |
Translations were generated by DeepSeek-V4-Flash with extended thinking enabled. The teacher was prompted to follow a four-stage reasoning procedure (literal meaning identification, genre/formality classification, vocabulary selection, natural rewriting) but to output only the final translation—omitting all reasoning traces.
| Parameter | Value |
|---|---|
| Base model | facebook/mbart-large-50-many-to-many-mmt |
| Fine-tuning | Full parameter update (not LoRA) |
| Epochs | 3 |
| Learning rate | 5×10⁻⁵ |
| Weight decay | 0.01 |
| Batch size | 32 (per device) |
| Gradient accumulation | 2 steps |
| Hardware | NVIDIA L40S (48GB) |
| Precision | bf16 mixed precision |
| Train/validation split | 90/10 |
The model was evaluated on the FLORES devtest set (1,012 samples per direction) using:
| Direction | BLEU | chrF | chrF++ | BERTScore-P | BERTScore-F1 | COMET |
|---|---|---|---|---|---|---|
| en→th | 1.46 | 38.35 | 31.15 | 0.73 | 0.73 | 0.72 |
| th→en | 17.30 | 46.53 | 44.24 | 0.92 | 0.92 | 0.79 |
| Source | Translation |
|---|---|
| Ring also settled a lawsuit with competing security company, the ADT Corporation. | ลิงกยังตกลงคดีกับบริษัทความปลอดภัยคู่แข่ง ADT Corporation |
| USA Gymnastics and the USOC have the same goal — making the sport of gymnastics, and others, as safe as possible for athletes to follow their dreams in a safe, positive and empowered environment. | การออกกําลังกายในสหรัฐอเมริกาและโอลิมปิกสหรัฐมีจุดหมายเดียวกัน — ทําให้ การออกกําลังกายและกีฬาอื่นๆ ปลอดภัยมากที่ สุดสําหรับนักกีฬาเพื่อตามฝันของตน ในสภาพแวดล้อมปลอดภัย บวก และมีพลัง |
| Source | Translation |
|---|---|
| แกงอาจมีทั้งชนิด "แห้ง" หรือ "น้ำ" ขึ้นอยู่กับปริมาณของเหลว | There are both dry and wet types of curry, depending on the amount of liquid used. |
| เนื่องจากมีหมู่เกาะให้เลือกถึง 17,000 เกาะ คำว่าอาหารอินโดนีเซียจึงเป็นคำเรียกกว้าง ๆ ที่ครอบคลุมถึงอาหารประจำภูมิภาคทั่วประเทศ | Because there are 17,000 islands to choose from, the term "Indonesian food" is a broad term that encompasses the cuisine of all regions in the country. |
If you use this model, please cite the following paper:
@article{jangjit2026teaching,
title={Teaching the Student to Skip the Homework: Rationale-Free Distillation for Thai-English Translation},
author={Jangjit, Naphon and Komsang, Jeerawat and Boran, Kord C.},
journal={Zenodo},
year={2026},
doi={10.5281/zenodo.21325610},
url={https://doi.org/10.5281/zenodo.21325610}
}
Naphon Jangjit, Jeerawat Komsang, Kord C. Boran (KordAI)
| Model | Size | Architecture |
|---|---|---|
KordAI/Kord-Translate-1.7B-ENTH-V2 | 1.7B | Qwen3 (LoRA) |
KordAI/Kord-Translate-4B-ENTH-V2 | 4B | Qwen3 (LoRA) |
KordAI/Kord-Translate-8B-ENTH-V2 | 8B | Qwen3 (LoRA) |
This work was supported by KordAI. We thank the developers of DeepSeek-V4, mBART-50, and the FLORES benchmark for making their resources available.