ATH-MaaS / Qwen-MT-Lumen

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: August 12 2026

Introduction of Qwen-MT-Lumen

Model Details of Qwen-MT-Lumen

Lumen — WMT26 General MT Submission

This repository contains Lumen , a submission to the WMT 2026 General Machine Translation Shared Task .

Lumen is a 14.8B-parameter dense translation model built on the Qwen3-14B architecture. It covers all 23 official WMT26 translation directions, including several low-resource and regional varieties (Ligurian, Ladin, Northern Sámi, Egyptian Arabic).

At 14.8B parameters the model is eligible for the WMT26 constrained track, which requires open-weight models below 20B parameters.

Model details
Architecture Qwen3ForCausalLM (dense, 40 layers, GQA with 40 Q / 8 KV heads)
Parameters 14.77 B
Hidden size / FFN 5120 / 17408
Vocabulary 152064 (Qwen2 BPE tokenizer)
Weights dtype bfloat16, single model.safetensors (~29.5 GB)
Context length 4096 tokens ( max_position_embeddings )
RoPE theta 10000
Supported language pairs

All 23 official WMT26 General MT directions:

Direction Languages Direction Languages
en→zh English → Chinese (Simplified) en→is English → Icelandic
en→zh-Hant-TW English → Chinese (Traditional, Taiwan) en→id English → Indonesian
en→cs English → Czech en→kk English → Kazakh
en→de English → German en→be English → Belarusian
en→ru English → Russian en→hy English → Eastern Armenian
en→uk English → Ukrainian en→arz English → Egyptian Arabic
en→ja English → Japanese en→lij English → Ligurian (Italy)
en→ko English → Korean en→lld English → Ladin (Val Badia, Italy)
en→et English → Estonian en→se English → Northern Sámi
en→th English → Thai cs→de Czech → German
zh→ja Chinese (Simplified) → Japanese cs→uk Czech → Ukrainian
cs→vi Czech → Vietnamese
Repository layout
.
├── model/                       # HF-format weights (upload target for Hugging Face)
│   ├── config.json
│   ├── generation_config.json
│   ├── chat_template.jinja
│   ├── special_tokens_map.json
│   ├── tokenizer.json
│   ├── tokenizer_config.json
│   └── model.safetensors        # 29,539,287,712 bytes, 443 tensors, bf16
├── inference/
│   └── run_eval_ruled_check.py  # submission decoding pipeline
├── requirements.txt
└── README.md
Prompt format

The model expects a Human: / Assistant: template (shipped as model/chat_template.jinja ). A rendered prompt looks like:

Please translate the following text into {tgt_lang}:
#guidelines
{guidelines}
#src_text
{src_text}

The #guidelines block carries the per-domain instructions supplied with the WMT26 test sets (register, HTML preservation, handling of URLs and hashtags, and so on).

Usage
1. Dependencies
pip install -r requirements.txt
2. Minimal example (vLLM)
from transformers import AutoTokenizer
from vllm import LLM, SamplingParams

model_path = "model"  # local path, or the Hugging Face repo id once published

tokenizer = AutoTokenizer.from_pretrained(model_path)
llm = LLM(model=model_path, max_model_len=4096)

lang_name = {
    "zh": "chinese", "zh-tw": "traditional chinese", "cs": "czech", "de": "german",
    "uk": "ukraine", "vi": "vietnamese", "ja": "japanese", "ko": "korean",
    "ru": "russian", "th": "thai", "id": "indonesian", "et": "estonian",
    "is": "icelandic", "kk": "kazakh", "be": "belarusian", "hy": "armenian",
    "arz": "egyptian arabic", "lij": "ligurian", "lld": "ladin", "se": "northern sami",
}

source_text = "This paper presents the Lumen system, our submission to the WMT 2026."
target = "zh"

content = (
    f"Please translate the following text into {lang_name[target].title()}.\n#guidelines\n"
    f"#src_text\n{source_text}"
)
prompt = tokenizer.apply_chat_template(
    [{"role": "user", "content": content}],
    tokenize=False,
    add_generation_prompt=True,
)

outputs = llm.generate(
    [prompt],
    SamplingParams(temperature=0.0, top_p=0.001, top_k=1, max_tokens=2048),
)
print(outputs[0].outputs[0].text.strip())
3. Reproducing the submission pipeline

inference/run_eval_ruled_check.py is the decoding pipeline used for the submission. It goes beyond plain greedy decoding:

  1. Structure-aware splitting. Each source is classified as html , json or plain . HTML text nodes and translatable attributes ( alt , title , placeholder , aria-label ) and JSON string leaves are translated independently, then the original structure is rebuilt. Long plain text is split into sentence-aware chunks.
  2. Rule-based quality checks. Every output is screened for empty results, length-ratio outliers, character-level decoder loops, repeated n-grams, insufficient target-script coverage, and source copying.
  3. Anti-loop retries. Flagged samples are regenerated with repetition_penalty=1.3 and frequency_penalty=0.5 rather than a higher temperature, which was empirically ineffective against character-level runaway ( "оооо…" , "ііі…" ). The better of the two candidates is kept.
  4. Structural validation. Rebuilt HTML is compared against the source tag-count signature and JSON against the source shape, so structure-breaking outputs are rejected.

Input is a JSONL file where each line provides prompt , src , src_lang and tgt_lang :

python inference/run_eval_ruled_check.py \
    --model model \
    --input  testset/en-zh.jsonl \
    --output out/en-zh.jsonl \
    --max-tokens 2048 \
    --tensor-parallel-size 1

Two files are written: the main output with an added hypothesis field (plus _rule_flags , _retried , _kind diagnostics), and a <output>.failed.jsonl companion listing samples that were still flagged after retrying.

Notes and limitations
  • Context length is 4096 tokens. The released config sets max_position_embeddings=4096 with rope_theta=10000 , so this is a hard limit rather than a soft recommendation. Documents longer than this must be chunked; the pipeline above does so automatically. --max-tokens must leave room for the prompt inside this budget.
  • Differences from stock Qwen3-14B. All layer dimensions match the official Qwen3-14B (5120 hidden, 40 layers, 40 Q / 8 KV heads, 17408 FFN, untied embeddings), but three config fields differ: vocab_size is 152064 rather than 151936, rope_theta is 10000 rather than 1000000, and max_position_embeddings is 4096 rather than 40960. The tokenizer holds 151669 real tokens, so the vocabulary difference is padding only.
  • Compatibility. config.json follows the transformers 5.x schema, using dtype and a nested rope_parameters block. transformers 4.x does not recognise these keys, so pass the dtype explicitly ( dtype=torch.bfloat16 ) to avoid loading the model in fp32.
  • Target-script check on JSON. The script-coverage rule measures the ratio of target-script characters over the whole output. For JSON payloads the untranslated ASCII keys dilute this ratio, so short dictionaries can be flagged even when the translation is correct. These land in .failed.jsonl for review rather than being discarded.
License

Released under the Apache License 2.0 ( https://www.apache.org/licenses/LICENSE-2.0.txt , SPDX-License-Identifier: Apache-2.0).

Runs of ATH-MaaS Qwen-MT-Lumen on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About Qwen-MT-Lumen huggingface.co Model

More Qwen-MT-Lumen license Visit here:

https://choosealicense.com/licenses/apache-2.0

Qwen-MT-Lumen huggingface.co

Qwen-MT-Lumen huggingface.co is an AI model on huggingface.co that provides Qwen-MT-Lumen's model effect (), which can be used instantly with this ATH-MaaS Qwen-MT-Lumen model. huggingface.co supports a free trial of the Qwen-MT-Lumen model, and also provides paid use of the Qwen-MT-Lumen. Support call Qwen-MT-Lumen model through api, including Node.js, Python, http.

Qwen-MT-Lumen huggingface.co Url

https://huggingface.co/ATH-MaaS/Qwen-MT-Lumen

ATH-MaaS Qwen-MT-Lumen online free

Qwen-MT-Lumen huggingface.co is an online trial and call api platform, which integrates Qwen-MT-Lumen's modeling effects, including api services, and provides a free online trial of Qwen-MT-Lumen, you can try Qwen-MT-Lumen online for free by clicking the link below.

ATH-MaaS Qwen-MT-Lumen online free url in huggingface.co:

https://huggingface.co/ATH-MaaS/Qwen-MT-Lumen

Qwen-MT-Lumen install

Qwen-MT-Lumen is an open source model from GitHub that offers a free installation service, and any user can find Qwen-MT-Lumen on GitHub to install. At the same time, huggingface.co provides the effect of Qwen-MT-Lumen install, users can directly use Qwen-MT-Lumen installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Qwen-MT-Lumen install url in huggingface.co:

https://huggingface.co/ATH-MaaS/Qwen-MT-Lumen

Url of Qwen-MT-Lumen

Qwen-MT-Lumen huggingface.co Url

Provider of Qwen-MT-Lumen huggingface.co

ATH-MaaS
ORGANIZATIONS

Other API from ATH-MaaS

huggingface.co

Total runs: 265.1K
Run Growth: 123.3K
Growth Rate: 49.05%
Updated:August 28 2026
huggingface.co

Total runs: 14.0K
Run Growth: -926
Growth Rate: -6.67%
Updated:August 15 2025
huggingface.co

Total runs: 9.6K
Run Growth: -2.6K
Growth Rate: -31.95%
Updated:August 15 2025
huggingface.co

Total runs: 5.8K
Run Growth: 1.6K
Growth Rate: 29.00%
Updated:February 13 2026
huggingface.co

Total runs: 4.6K
Run Growth: 421
Growth Rate: 9.17%
Updated:February 13 2026
huggingface.co

Total runs: 3.8K
Run Growth: 2.8K
Growth Rate: 76.19%
Updated:August 15 2025
huggingface.co

Total runs: 605
Run Growth: 114
Growth Rate: 18.07%
Updated:November 23 2024
huggingface.co

Total runs: 444
Run Growth: 154
Growth Rate: 34.53%
Updated:August 15 2025
huggingface.co

Total runs: 250
Run Growth: -594
Growth Rate: -212.14%
Updated:July 03 2025
huggingface.co

Total runs: 241
Run Growth: -7
Growth Rate: -2.94%
Updated:June 09 2026
huggingface.co

Total runs: 223
Run Growth: -18
Growth Rate: -8.04%
Updated:August 15 2025
huggingface.co

Total runs: 178
Run Growth: -173
Growth Rate: -90.10%
Updated:August 15 2025
huggingface.co

Total runs: 62
Run Growth: 26
Growth Rate: 43.33%
Updated:November 21 2024
huggingface.co

Total runs: 27
Run Growth: -9
Growth Rate: -36.00%
Updated:November 21 2024
huggingface.co

Total runs: 26
Run Growth: 21
Growth Rate: 77.78%
Updated:May 29 2025
huggingface.co

Total runs: 16
Run Growth: 7
Growth Rate: 38.89%
Updated:July 30 2025
huggingface.co

Total runs: 13
Run Growth: 11
Growth Rate: 73.33%
Updated:August 19 2025
huggingface.co

Total runs: 8
Run Growth: 3
Growth Rate: 33.33%
Updated:November 14 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 19 2025