English | 中文
The instruction-tolerant sibling of DALabCommunity/Haidass-Translate-143M: same 143M zh⇄en translation training, plus 9.1% cleaned general-domain data (STEP_FUN ShareGPT) mixed in. Translation scores are within 0.3 BLEU of the pure-translation version, and the model retains limited general instruction-following ability that the pure-translation version does not have.
Live demo: Haidass Translate Instruction on Hugging Face Spaces.
| Model | Params | Arch | en→zh BLEU | en→zh chrF++ | zh→en BLEU | zh→en chrF++ |
|---|---|---|---|---|---|---|
| HY-MT1.5-1.8B | 1800M | LLM | 44.65 | 30.98 | 27.68 | 57.96 |
| Qwen3-0.6B | 600M | LLM | 30.94 | 21.10 | 20.21 | 48.62 |
| OPUS-MT en-zh | 78M | Seq2Seq | 30.88 | 21.80 | - | - |
| OPUS-MT zh-en | 78M | Seq2Seq | - | - | 22.99 | 51.03 |
| Qwen2.5-0.5B-Instruct | 500M | LLM | 28.96 | 19.65 | 18.09 | 45.85 |
| M2M-100-418M | 418M | Seq2Seq | 28.04 | 20.53 | 20.58 | 48.79 |
| Haidass-Translate-143M | 143M | LLM | 23.89 | 17.55 | 14.65 | 40.76 |
| Haidass-Translate-143M-Instruction | 143M | LLM | 23.64 | 17.21 | 14.35 | 40.13 |
| NLLB-200-distilled-600M | 600M | Seq2Seq | 22.44 | 16.74 | 25.71 | 52.28 |
| Drafter-143M* | 143M | LLM | 12.04 | 9.43 | 5.47 | 27.31 |
*Drafter-143M: a control model with identical configuration, data and training recipe, except that it starts from random initialization instead of the pretrained base — used to quantify the contribution of base-model pretraining.
OPUS-MT models are single-directional — one independent 78M model per direction; "-" marks directions a model does not serve.
The same models re-evaluated on FLORES+ devtest (released 2026; zero overlap with dev):
| Model | Params | Arch | en→zh BLEU | en→zh chrF++ | zh→en BLEU | zh→en chrF++ |
|---|---|---|---|---|---|---|
| HY-MT1.5-1.8B | 1800M | LLM | 37.36 | 26.08 | 20.33 | 51.48 |
| OPUS-MT en-zh | 78M | Seq2Seq | 32.23 | 22.40 | - | - |
| OPUS-MT zh-en | 78M | Seq2Seq | - | - | 23.06 | 51.03 |
| Qwen3-0.6B | 600M | LLM | 31.76 | 21.48 | 19.66 | 48.14 |
| Qwen2.5-0.5B-Instruct | 500M | LLM | 29.32 | 19.95 | 18.04 | 46.00 |
| M2M-100-418M | 418M | Seq2Seq | 28.29 | 20.60 | 19.52 | 47.87 |
| Haidass-Translate-143M | 143M | LLM | 25.06 | 17.72 | 13.68 | 40.02 |
| Haidass-Translate-143M-Instruction | 143M | LLM | 24.74 | 17.77 | 13.95 | 39.93 |
| NLLB-200-distilled-600M | 600M | Seq2Seq | 23.07 | 16.94 | 24.30 | 51.48 |
| Drafter-143M* | 143M | LLM | 10.93 | 9.00 | 5.82 | 26.83 |
Mixing 9.1% general-domain data into the translation SFT gives this variant a limited ability to respond to general instructions (short poems, simple summaries, paraphrases) that the pure-translation sibling essentially lacks. This ability is fragile: prompts outside the translation domain may produce echoes of the input, partial answers, or drifting continuations. The model is still primarily a translator; treat general instruction following as a bonus, not a guarantee.
--pack --neat-pack (683,227 full 2048-token sequences with inter-document attention-mask isolation)from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("umeiko/Haidass-Translate-143M-Instruction", torch_dtype="bfloat16", device_map="auto")
tok = AutoTokenizer.from_pretrained("umeiko/Haidass-Translate-143M-Instruction")
msgs = [{"role": "user", "content": "将以下文本翻译为英文:光子甚至比构成原子的物质还要小!"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(ids, max_new_tokens=512, do_sample=False)
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))
# Even photons are smaller than the stuff that makes up atoms!
Note: the training data follows the qwen3 chat template (an empty <think></think> block precedes the assistant turn). Always use the model's built-in chat_template at inference; do not hand-craft prompts.
repetition_penalty / no_repeat_ngram_size as mitigation)tokenize=zh for Chinese targets, tokenize=13a for English) + chrF++ (word_order=2); prompts byte-identical to the training chat templateNote: all scores are measured on the FLORES Chinese–English subset (eng_Latn ↔ zho_Hans), bidirectional (997 sentences for dev, 1,012 for devtest), with greedy decoding.
model-00001-of-000030.safetensors 81 MBmodel-00030-of-000030.safetensors 7 MBmodel-00011-of-000030.safetensors 7 MBmodel-00012-of-000030.safetensors 7 MBmodel-00013-of-000030.safetensors 7 MBmodel-00014-of-000030.safetensors 7 MBmodel-00015-of-000030.safetensors 7 MBmodel-00016-of-000030.safetensors 7 MBmodel-00017-of-000030.safetensors 7 MBmodel-00018-of-000030.safetensors 7 MBmodel-00019-of-000030.safetensors 7 MBmodel-00020-of-000030.safetensors 7 MBmodel-00021-of-000030.safetensors 7 MBmodel-00022-of-000030.safetensors 7 MBmodel-00023-of-000030.safetensors 7 MBmodel-00024-of-000030.safetensors 7 MBmodel-00025-of-000030.safetensors 7 MBmodel-00026-of-000030.safetensors 7 MBmodel-00027-of-000030.safetensors 7 MBmodel-00028-of-000030.safetensors 7 MBmodel-00029-of-000030.safetensors 7 MBmodel-00002-of-000030.safetensors 7 MBmodel-00003-of-000030.safetensors 7 MBmodel-00004-of-000030.safetensors 7 MBmodel-00005-of-000030.safetensors 7 MBmodel-00006-of-000030.safetensors 7 MBmodel-00007-of-000030.safetensors 7 MBmodel-00008-of-000030.safetensors 7 MBmodel-00009-of-000030.safetensors 7 MBmodel-00010-of-000030.safetensors 7 MB有文件?提交种子。
提交种子