English | 中文
🚀 GGUF edition — near-lossless, half the footprint.
GGUF Q8_0 quantization of DALabCommunity/Haidass-Translate-143M — a 143M-parameter bidirectional Chinese⇄English translation model (Qwen3 architecture). Runs locally with llama.cpp / Ollama / LM Studio. All decoder linear layers are Q8_0; the embedding (tied to the output head) is kept in bf16, which we found necessary to keep the model lossless (see QUANTIZATION_REPORT.md).
| 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 |
| Haidass-Translate-143M (beam) † | 143M | LLM | 30.36 | 21.40 | 20.62 | 46.51 |
| Qwen2.5-0.5B-Instruct | 500M | LLM | 28.96 | 19.65 | 18.09 | 45.85 |
| Haidass-Translate-143M (greedy) ‡ | 143M | LLM | 28.32 | 19.49 | 17.72 | 44.32 |
| Haidass-Translate-143M Q8_0 GGUF (this repo) § | 143M | LLM | 27.94 | 19.75 | 17.89 | 44.26 |
| M2M-100-418M | 418M | Seq2Seq | 28.04 | 20.53 | 20.58 | 48.79 |
| NLLB-200-distilled-600M | 600M | Seq2Seq | 22.44 | 16.74 | 25.71 | 52.28 |
† en→zh num_beams=3 length_penalty=1.25; zh→en num_beams=4 length_penalty=0.9. ‡ Reference numbers from the original model card (bf16, greedy). § Measured on llama.cpp (CPU, greedy) with byte-identical prompts; Δ vs the bf16 original is within ±0.8 BLEU — i.e. essentially lossless.
| Model | Params | Storage |
|---|---|---|
| HY-MT1.5-1.8B | 1800M | ~3.6 GB (bf16) |
| NLLB-200-distilled-600M | 600M | ~1.2 GB (bf16) |
| Qwen3-0.6B | 600M | ~1.2 GB (bf16) |
| Qwen2.5-0.5B-Instruct | 500M | ~1.0 GB (bf16) |
| M2M-100-418M | 418M | ~0.9 GB (bf16) |
| Haidass-Translate-143M | 143M | 286 MB (bf16) |
| haidass-translate-143m-q8_0.gguf (this repo) | 143M | 188 MB |
Important: the model was trained with an empty <think></think> block before the assistant turn. Use this exact prompt format:
llama-cli -m haidass-translate-143m-q8_0.gguf --temp 0 -n 256 \
-p "<|im_start|>user
Translate the following text from English to Simplified Chinese.
The trial took place at Birmingham Crown Court and concluded on August 3.<|im_end|>
<|im_start|>assistant
<think>
</think>
"
# 审判于8月3日在伯明翰皇家法院进行,并于当日结束。
For zh→en use the instruction 请将以下简体中文翻译成英文。. Greedy decoding (temperature 0) works best.
Caution: this model overflows in fp16 (activation outliers); always run it in bf16/fp32 compute. Do not apply further activation-int8 or ≤4-bit weight quantization — both destroy quality (details in QUANTIZATION_REPORT.md).
python convert_hf_to_gguf.py DALabCommunity/Haidass-Translate-143M \
--outfile haidass-translate-143m-bf16.gguf --outtype bf16
llama-quantize --token-embedding-type bf16 \
haidass-translate-143m-bf16.gguf haidass-translate-143m-q8_0.gguf q8_0
Evaluation pipeline and metric definitions: see the original model card and the companion eval repo.
Inherited from the original model (Apache 2.0).