SAVRN
Search Contact SAVRN

Open-weight model · Text generation

Haidass-Translate-143M-Instruction

by Ziyang Mei umeiko/Haidass-Translate-143M-Instruction

English | 中文 The instruction-tolerant sibling of DALabCommunity/Haidass-Translate-143M: same 143M zh⇄en translation training, plus 9.1% cleaned general-domain data (STEPFUN ShareGPT) mixed in.

Parameters143M
Context4,096
Weights286.2 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads345

Runs On

What it takes to serve Haidass-Translate-143M-Instruction (143M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.3 GB 0.3 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.1 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By Ziyang Mei, published under apache-2.0, revision a6eef4082a9e.

English | 中文 The instruction-tolerant sibling of DALabCommunity/Haidass-Translate-143M: same 143M zh⇄en translation training, plus 9.1% cleaned general-domain data (STEPFUN 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. 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; "-"…

Read Ziyang Mei's full model card

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.

FLORES-200 dev

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.

FLORES+ devtest

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

Instruction following

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.

Training recipe

  • Base: Haidass1.5-143M (Qwen3 architecture: 30 layers, hidden 576, GQA 9/3, vocab 64,000)
  • Data: 7.837M cleaned zh↔en parallel sentence pairs (15.67M samples bidirectional) + 157,593 cleaned STEP_FUN ShareGPT conversations (9.1% of training tokens)
  • Packing: official MindSpeed-LLM --pack --neat-pack (683,227 full 2048-token sequences with inter-document attention-mask isolation)
  • Training: 16×Ascend 910C, GBS=256, lr 3e-5 cosine, 2 epochs = 5,337 steps (~2.8B tokens), final loss 1.788
  • Framework: MindSpeed-LLM v2.3.0 + Megatron-LM core_v0.12.1 (NPU)

Usage

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.

Known limitations

  • zh→en BLEU plateaus at ~14 across data scales; more same-distribution parallel data does not push this direction further
  • Typical residual errors: entity mix-ups, occasional omission of numeric details; rare-entity-dense zh→en inputs can trigger repetitive looping under greedy decoding (use repetition_penalty / no_repeat_ngram_size as mitigation)
  • General instruction following is limited and unstable (see above)
  • Optimized for zh⇄en; not a general chat model

Evaluation

  • Metrics: sacreBLEU corpus BLEU (tokenize=zh for Chinese targets, tokenize=13a for English) + chrF++ (word_order=2); prompts byte-identical to the training chat template
  • Decontamination: all 15.83M training samples audited against both benchmarks by n-gram overlap (8-word English / 10-character Chinese fragments): 1,147 hits (0.0072%) vs FLORES-200 dev, 1,788 (0.0113%) vs FLORES+ devtest; the STEP_FUN-only subset shows 6 hits (0.0038%) vs devtest. Manual inspection shows common-phrase-level overlap, not full-sentence leakage
  • Raw predictions, audit reports and evaluation scripts for every model in the tables above: umeiko/Haidass-Translate-143M-eval

Note: 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.

Configuration

Architecture
Qwen3ForCausalLM
Context length (tokens)
4,096
Layers
30
Hidden size
576
Feed-forward size
1,536
Attention heads
9
Key/value heads
3
Head dimension
64
Vocabulary size
64,000
RoPE base
100,000
Stored precision
bfloat16
Model type
qwen3

Identity and Version

Repository
umeiko/Haidass-Translate-143M-Instruction
Publisher
Ziyang Mei
Task
Text generation
Modality
Text
Library
Not stated by the source
Parameters
143M parameters
Languages
en, zh
Revision
a6eef4082a9eb2a3f43c7844d2712da59fc6fc79
First published
2026-09-15
Last updated
2026-09-18

Files and Weights

40 files, 288.3 MB in total. The weights are 30 files totalling 286.2 MB in safetensors.

Weights30 files · 286.2 MB
Configuration4 files · 30.5 KB
Tokenizer2 files · 1.3 MB
Documentation2 files · 13.1 KB
Other1 file · 797.1 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-000030.safetensorsWeights80.8 MB 82a71c26470e
model-00002-of-000030.safetensorsWeights7.1 MB 294347714b81
model-00003-of-000030.safetensorsWeights7.1 MB 29d61cf08dbb
model-00004-of-000030.safetensorsWeights7.1 MB cffa7da53833
model-00005-of-000030.safetensorsWeights7.1 MB 1e37ce067934
model-00006-of-000030.safetensorsWeights7.1 MB 37d0d74df6dd
model-00007-of-000030.safetensorsWeights7.1 MB 0f010c6734a1
model-00008-of-000030.safetensorsWeights7.1 MB a762a5000a81
model-00009-of-000030.safetensorsWeights7.1 MB f826a92e95a0
model-00010-of-000030.safetensorsWeights7.1 MB 86061a49cf41
model-00011-of-000030.safetensorsWeights7.1 MB 06d1164aa3fe
model-00012-of-000030.safetensorsWeights7.1 MB 6b9e53d50cb4
model-00013-of-000030.safetensorsWeights7.1 MB b75454520ee4
model-00014-of-000030.safetensorsWeights7.1 MB adccc142f81f
model-00015-of-000030.safetensorsWeights7.1 MB 43469892ff28
model-00016-of-000030.safetensorsWeights7.1 MB 2b21171cde8d
model-00017-of-000030.safetensorsWeights7.1 MB edc4f10c976a
model-00018-of-000030.safetensorsWeights7.1 MB 4529c139d8f0
model-00019-of-000030.safetensorsWeights7.1 MB dec333fa304e
model-00020-of-000030.safetensorsWeights7.1 MB 3873b8e18ffe
model-00021-of-000030.safetensorsWeights7.1 MB 060f202febe3
model-00022-of-000030.safetensorsWeights7.1 MB 8546d9a11e04
model-00023-of-000030.safetensorsWeights7.1 MB 8c72388ea921
model-00024-of-000030.safetensorsWeights7.1 MB ec8b67984726
model-00025-of-000030.safetensorsWeights7.1 MB 61b9350dd408
model-00026-of-000030.safetensorsWeights7.1 MB 38b8e3e01906
model-00027-of-000030.safetensorsWeights7.1 MB fb2b00cfb69d
model-00028-of-000030.safetensorsWeights7.1 MB 688f0239df1d
model-00029-of-000030.safetensorsWeights7.1 MB f9fcb1da3ce1
model-00030-of-000030.safetensorsWeights7.1 MB cf10fc181794
config.jsonConfiguration711 B
generation_config.jsonConfiguration113 B
model.safetensors.index.jsonConfiguration29.0 KB
special_tokens_map.jsonConfiguration666 B
README.mdDocumentation6.9 KB
README_zh.mdDocumentation6.2 KB
download.pngOther797.1 KB ae951254abbe
.gitattributesRepository1.6 KB
tokenizer.modelTokenizer1.3 MB dddb2e3e527f
tokenizer_config.jsonTokenizer9.7 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
286.2 MB
Download from Ziyang Mei

Released by Ziyang Mei through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published286.2 MB
16-bit0.3 GB
8-bit0.1 GB
4-bit0.1 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Haidass-Translate-143M-Instruction

How much GPU memory does Haidass-Translate-143M-Instruction need?

About 0.3 GB at 16-bit and 0.1 GB at 4-bit: the weights (143M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run Haidass-Translate-143M-Instruction on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use Haidass-Translate-143M-Instruction commercially?

Yes. Haidass-Translate-143M-Instruction is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is Haidass-Translate-143M-Instruction's context length?

4,096 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text generation

Haidass-Translate-143M

DALab

English | 中文 A 143M-parameter bidirectional Chinese↔English translation model, instruction-tuned on the Haidass1.5-143M base — the strongest zh⇄en translator at this scale among general chat-architecture models. 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): devtest sentences do not overlap with dev.…

Open weights apache-2.0 143M parameters 4,096 tokens

Model · Text generation

gpt2

OpenAI community

Test the whole generation capabilities here: https://transformer.huggingface.co/doc/gpt2-large Pretrained model on English language using a causal language modeling (CLM) objective. It was introduced in and first released at this page. model. Content from this model card has been written by the Hugging Face team to complete the information they provided and give specific examples of bias. GPT-2 is a transformers model pretrained on a very large corpus of English data in a self-supervised fashion. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an automatic process to generate inputs…

Open weights mit 137M parameters transformers

SmolLM2 is a family of compact language models available in three size: 135M, 360M, and 1.7B parameters. They are capable of solving a wide range of tasks while being lightweight enough to run on-device. More details in our paper: https://arxiv.org/abs/2502.02737 SmolLM2 demonstrates significant advances over its predecessor SmolLM1, particularly in instruction following, knowledge, reasoning. The 135M model was trained on 2 trillion tokens using a diverse dataset combination: FineWeb-Edu, DCLM, The Stack, along with new filtered datasets we curated and will release soon. We developed the instruct version through supervised fine-tuning (SFT) using a combination of public datasets and our…

Open weights apache-2.0 135M parameters 8,192 tokens transformers

SmolLM2 is a family of compact language models available in three size: 135M, 360M, and 1.7B parameters. They are capable of solving a wide range of tasks while being lightweight enough to run on-device. More details in our paper https://arxiv.org/abs/2502.02737 SmolLM2 demonstrates significant advances over its predecessor SmolLM1, particularly in instruction following, knowledge, reasoning. The 135M model was trained on 2 trillion tokens using a diverse dataset combination: FineWeb-Edu, DCLM, The Stack, along with new filtered datasets we curated and will release soon. We developed the instruct version through supervised fine-tuning (SFT) using a combination of public datasets and our own…

Open weights apache-2.0 135M parameters 8,192 tokens transformers

This model is a custom-code derivative of AxiomicLabs/GPT-X2-125M, adapted for experimental long-context causal language modeling and architecture research. The repository includes a Hugging Face Transformers-compatible GPT-X2 implementation with optional Symplectic Metric-RoPE Governor support and training utilities built around CIxOpt, a heterogeneous optimizer developed for efficient parameter routing across large projection matrices, sensitive normalization parameters, and optional governor modules. The model is intended as a research checkpoint for compact long-context generation, positional encoding experiments, optimizer testing, and continued fine-tuning. This implementation uses a…

Open weights apache-2.0 126M parameters 32,768 tokens transformers