Qwen3-8B-ZH-Swap is a
Layer Swap model built on top of
lightonai/Qwen3-8B-ZH: the middle transformer layers (L13–L20) of the English specialist
lightonai/Qwen3-8B-EN have been
transplanted into the Chinese native specialist. The resulting model
reasons natively in Chinese while inheriting the stronger reasoning core of the English specialist.
This model is part of a Chinese specialist trio designed to study the native reasoning gap:
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "lightonai/Qwen3-8B-ZH-Swap"
4tokenizer = AutoTokenizer.from_pretrained(model_name)
5model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")
6
7messages = [{"role": "user", "content": "计算:24 × 17 = ?"}]
8inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True).to(model.device)
9
10outputs = model.generate(inputs, max_new_tokens=32768, temperature=1.0, top_p=0.95, top_k=20)
11print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True))
If you find our work helpful, feel free to give us a cite.
1@misc{lasbordes2026rethinking,
2 title = {Rethinking the Multilingual Reasoning Gap with Layer Swap},
3 author = {Lasbordes, Maxence and Chatelain, Amélie and Seddah, Djamé},
4 year = {2026},
5 eprint = {2605.26735},
6 archivePrefix= {arXiv},
7 primaryClass = {cs.CL}
8}