A bidirectional Korean ↔ English translation model built on mT5-small, fine-tuned on ~150k parallel sentence pairs drawn from TED talks, parallel corpora, and quality-filtered Wikipedia data.
Overview
Midas is a single bidirectional translation model that handles both Korean→English and English→Korean in one set of weights. Direction is controlled by a task prefix in the input — no separate models required.
mT5-small was chosen over standard T5-small specifically for its multilingual SentencePiece tokenizer, which covers Korean script natively and avoids the heavy subword fragmentation that limits T5-small's Korean generation quality.
What Midas is good for:
Getting the gist of Korean text in English
Drafting English-to-Korean translations for human review
Lightweight deployment where model size matters
Baseline translation in pipelines where speed > perfection
What Midas is not:
A production-grade translator — BLEU 21.88 sits in the "understandable with noticeable flaws" range
A replacement for DeepL or Google Translate on critical content
Suited for highly domain-specific text (legal, medical, technical)
Model Details
Property
Value
Base model
google/mt5-small
Parameters
~300M
Task
Bidirectional Korean ↔ English translation
Training examples
299,000 (150k KO→EN + 150k EN→KO)
Epochs
2
Total steps
8,094
Training time
2h 20m
Final BLEU
21.88
Final train loss
7.6516
Final val loss
1.5326
Hardware
NVIDIA A100-SXM4 80GB
Max sequence length
512 tokens (source and target)
Precision
bfloat16
License
Apache 2.0
Usage
Transformers
from transformers import MT5ForConditionalGeneration, AutoTokenizer
model_name = "EphAsad/Midas-Korean-English"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = MT5ForConditionalGeneration.from_pretrained(model_name)
deftranslate(text, direction="ko-en"):
if direction == "ko-en":
prefix = "translate Korean to English: "else:
prefix = "translate English to Korean: "
inputs = tokenizer(
prefix + text,
return_tensors = "pt",
max_length = 512,
truncation = True,
)
outputs = model.generate(
**inputs,
max_new_tokens = 512,
num_beams = 4,
early_stopping = True,
)
return tokenizer.decode(outputs[0], skip_special_tokens=True)
# Korean → Englishprint(translate("오늘 날씨가 정말 좋네요.", direction="ko-en"))
# English → Koreanprint(translate("The weather is really nice today.", direction="en-ko"))
Direction is controlled by the prefix — this is required:
translate Korean to English: {Korean text}
translate English to Korean: {English text}
Omitting the prefix will produce degraded or incorrect output.
Training Data
Three parallel corpus sources were streamed and combined. Each sentence pair was expanded into two training examples — one per direction — giving a balanced 50/50 KO→EN / EN→KO split.
Total pairs:
~150,000
Total training examples:
~299,000 (after bidirectional expansion)
Val split:
1,000 examples (0.3%)
The wiki dataset quality filter (
score ≥ 0.87
) was applied to retain only high-confidence alignment pairs. Records below this threshold were discarded during streaming.
BLEU improvement plateaued significantly after step 6,000, with only +1.04 points gained over the final 2,000 steps. The model converged within 2 epochs.
Evaluation
BLEU 21.88
on the held-out validation set (1,000 examples, mixed KO→EN and EN→KO).
For context on what BLEU scores mean in practice:
BLEU
Quality
< 10
Unusable
10–19
Rough — gist only
20–29
Understandable — noticeable flaws
30–40
Good — approaches human quality
40+
High quality
Midas sits at the lower end of the "understandable" band. Translations convey meaning but may have grammatical errors, awkward phrasing, or minor semantic drift — particularly on longer or more complex sentences.
Known Limitations
BLEU ceiling for mT5-small.
The model converged around 21-22 BLEU. Reaching 25+ would likely require mT5-base (580M) or more training steps. Capacity, not data, is the limiting factor here.
Long sentences.
Performance degrades on sentences requiring complex reordering across Korean and English word order differences. Both languages are structurally very different (SOV vs SVO), which remains a challenge at this scale.
Domain coverage.
Training data is dominated by encyclopedic (Wikipedia) and spoken (TED) content. Legal, medical, and technical Korean text will produce lower quality outputs.
Sacrebleu tokenisation artefact.
mT5's SentencePiece decoder sometimes produces spaces before punctuation (e.g.
word .
rather than
word.
). This slightly suppresses the reported BLEU score — actual perceived quality is marginally better than the number suggests.
Citation
@misc{midas_korean_english_2026,
author = {Asad, Zain},
title = {Midas: A Bidirectional Korean-English Translation Model
Based on mT5-Small},
year = {2026},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/EphAsad/Midas-Korean-English}},
}
License
Released under the
Apache 2.0 License
, consistent with the mT5-small base model.
Midas-Korean-English huggingface.co is an AI model on huggingface.co that provides Midas-Korean-English's model effect (), which can be used instantly with this EphAsad Midas-Korean-English model. huggingface.co supports a free trial of the Midas-Korean-English model, and also provides paid use of the Midas-Korean-English. Support call Midas-Korean-English model through api, including Node.js, Python, http.
Midas-Korean-English huggingface.co is an online trial and call api platform, which integrates Midas-Korean-English's modeling effects, including api services, and provides a free online trial of Midas-Korean-English, you can try Midas-Korean-English online for free by clicking the link below.
EphAsad Midas-Korean-English online free url in huggingface.co:
Midas-Korean-English is an open source model from GitHub that offers a free installation service, and any user can find Midas-Korean-English on GitHub to install. At the same time, huggingface.co provides the effect of Midas-Korean-English install, users can directly use Midas-Korean-English installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Midas-Korean-English install url in huggingface.co: