XingChen-AGI/Xing4.0-29B-A4B

Hugging Face Models Trending Models

Summary

Xing4.0-29B-A4B is an open-source 29B-parameter large language model optimized for agent tasks and Ascend NPU, featuring a MoE architecture and achieving high training efficiency with competitive benchmark results.

Task: text-generation Tags: transformers, safetensors, xing4_0, text-generation, conversational, custom_code, arxiv:2512.24157, arxiv:2507.18013, license:apache-2.0, region:us
Original Article
View Cached Full Text

Cached at: 09/18/26, 02:41 AM

XingChen-AGI/Xing4.0-29B-A4B · Hugging Face

Source: https://huggingface.co/XingChen-AGI/Xing4.0-29B-A4B

This repository provides the model weights and configuration files for Xing4.0-29B-A4B in Hugging Face Transformers format, compatible with Transformers, vLLM, SGLang, KTransformers, and other mainstream inference frameworks.

Xing4.0-29B-A4Bis a next-generation large language model in the Xing series (formerlyTeleChat), developed by China Telecom Artificial Intelligence Technology Co., Ltd. With 29B total parameters and only 4B activated per token, it natively supports a 256K context length, extensible to 512K. It is the first model of this scale trained entirely on the Ascend NPU platform with the MindSpore framework, and deeply optimized for complex engineering tasks.

For more information, please refer to ourGitHub repository.

https://huggingface.co/XingChen-AGI/Xing4.0-29B-A4B#highlightsHighlights

  • Agent-Oriented Architecture: Built on the mHC + MLA + MTP architecture, supporting multi-step planning, tool calling, and complex reasoning chain execution, ensuring task coherence and execution stability under long contexts.
  • Deep Co-optimization with Ascend NPU: Adapted for Ascend 910C clusters using MindSpore/MindFormers, including feature adaptation for mHC and fused operator development, enabling stable and efficient training on the Ascend platform.
  • Significant Training Efficiency Gains: Through multi-level co-optimization — including fine-grained MoE communication optimization, selective recomputation, DVM automatic graph-operator fusion, and Ascend C mHC fused operators — overall training throughput was improved by approximately**96%**over out-of-the-box performance.
  • Full Open-Source Ecosystem Compatibility: Supports LLaMA-Factory and MindFormers for fine-tuning; SGLang, vLLM, and KTransformers for inference and deployment; with targeted adaptation and format alignment for agent frameworks such as OpenCode, Claude Code, OpenClaw, and Hermes, enabling seamless integration into existing workflows.
  • Easy Adaptation for Domain-Specific Scenarios: The model is well-suited for downstream task fine-tuning, allowing lightweight customization on proprietary data for vertical domains such as intent classification, table understanding, contract auditing, and knowledge-based QA, enabling rapid domain capability development and deployment at low cost.

https://huggingface.co/XingChen-AGI/Xing4.0-29B-A4B#model-overviewModel Overview

Xing4.0-29B-A4BParameters29B (4B active)Number of Layers40Hidden Size3584Dense FFN Intermediate Size9216Expert Intermediate Size1024Attention TypeMLANumber of Routed Experts64Active Experts per Token4Number of Shared Experts1Context Length256K (extensible to 512K)

https://huggingface.co/XingChen-AGI/Xing4.0-29B-A4B#benchmarkBenchmark

BenchmarkXing4.0-29B-A4BGemma4-26B-A4BQwen3.6-35B-A3BIFBench69.6772.6765.50AIME202690.0088.3092.70AA.LCR61.0066.0062.00Tau3-Bench64.6358.9067.20Claw-Eval76.5571.4974.54SWE-bench Verified75.0053.0076.00Terminal-Bench 2.157.5030.0051.50SWE-bench Multilingual66.0051.0067.20DeepresearchBII60.8039.3059.70

https://huggingface.co/XingChen-AGI/Xing4.0-29B-A4B#quickstartQuickstart

https://huggingface.co/XingChen-AGI/Xing4.0-29B-A4B#inferenceInference

Xing4.0-29B-A4B can be accessed via an OpenAI-compatible API.

from openai import OpenAI

client = OpenAI(
    base_url="your-base-url",
    api_key="your-api-key",
)

completion = client.chat.completions.create(
    model="Xing4.0-29B-A4B",
    messages=[{"role": "user", "content": "Briefly explain the basic principles of quantum computing."}],
    temperature=1.0,
    top_p=0.95,
    extra_body={
        "repetition_penalty": 1.05,
        "skip_special_tokens": False,
        "spaces_between_special_tokens": False,
        "chat_template_kwargs": {
            "enable_thinking": True,  # Set to False to disable thinking
        },
    },
)

print(completion.choices[0].message.content)

https://huggingface.co/XingChen-AGI/Xing4.0-29B-A4B#servingServing

Xing4.0-29B-A4B supports deployment withvLLM,SGLang, andKTransformers. For detailed launch instructions, please refer to ourGitHub repository.

https://huggingface.co/XingChen-AGI/Xing4.0-29B-A4B#recommended-parametersRecommended Parameters

Scenariotemperaturetop_prepetition_penaltyComplex reasoning / general tasks1.00.951.05Coding / agent tasks0.80.951.05

https://huggingface.co/XingChen-AGI/Xing4.0-29B-A4B#footnotesFootnotes

  • SWE-bench Verified: We evaluate Xing4.0-29B-A4B using theSWE\-agentharness withtemperature=1\.0, top\_p=0\.95, repetition\_penalty=1\.05and a210K context window.
  • Terminal-Bench 2.1: We evaluate interminus\-2withtemperature=0\.8, top\_p=0\.95, repetition\_penalty=1\.05, max\_tokens=64Kand a24-hour timeout. We report the average score over3runs.
  • SWE-bench Multilingual: We evaluate Xing4.0-29B-A4B using theSWE\-agentharness withtemperature=1\.0, top\_p=0\.95, repetition\_penalty=1\.05and a210K context window.
  • Claw-Eval: We evaluate using theofficial harnesswithtemperature=0\.8, top\_p=0\.95, repetition\_penalty=1\.05, max\_tokens=16384and a 256K context window. We report the average score over3runs.
  • Tau3-Bench: We evaluate using theofficial harnesswithtemperature=0\.8, top\_p=0\.95, repetition\_penalty=1\.05, max\_tokens=16384. We report the average pass^1 over4runs.
  • DeepresearchBII: We evaluate using theOpenCodeharness withtemperature=0\.8, top\_p=0\.95, repetition\_penalty=1\.05, max\_tokens=32768and a256K context window, with Exa MCP server enabled.
  • AIME2026: We evaluate withtemperature=1\.0, top\_p=0\.95, repetition\_penalty=1\.05, max\_tokens=131072. We report the average score over 5 independent runs.
  • IFBench: We evaluate withtemperature=0\.8, top\_p=0\.95, repetition\_penalty=1\.05, max\_tokens=81920.
  • AA.LCR: We evaluate withtemperature=1\.0, top\_p=0\.95, repetition\_penalty=1\.05, max\_tokens=65536. We report the average score over3runs.

https://huggingface.co/XingChen-AGI/Xing4.0-29B-A4B#citationCitation

@misc{liu2025trainingreporttelechat3moe,
      title={Training Report of TeleChat3-MoE}, 
      author={Xinzhang Liu and Chao Wang and Zhihao Yang and Zhuo Jiang and Xuncheng Zhao and Haoran Wang and Lei Li and Dongdong He and Luobin Liu and Kaizhe Yuan and Han Gao and Zihan Wang and Yitong Yao and Sishi Xiong and Wenmin Deng and Haowei He and Kaidong Yu and Yu Zhao and Ruiyu Fang and Yuhao Jiang and Yingyan Li and Xiaohui Hu and Xi Yu and Jingqi Li and Yanwei Liu and Qingli Li and Xinyu Shi and Junhao Niu and Chengnuo Huang and Yao Xiao and Ruiwen Wang and Fengkai Li and Luwen Pu and Kaipeng Jia and Fubei Yao and Yuyao Huang and Xuewei He and Zhuoru Jiang and Ruiting Song and Rui Xue and Qiyi Xie and Jie Zhang and Zilu Huang and Zhaoxi Zhang and Zhilong Lu and Yanhan Zhang and Yin Zhang and Yanlei Xue and Zhu Yuan and Teng Su and Xin Jiang and Shuangyong Song and Yongxiang Li and Xuelong Li},
      year={2025},
      eprint={2512.24157},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2512.24157}, 
}

@misc{wang2025technicalreporttelechat2telechat25,
      title={Technical Report of TeleChat2, TeleChat2.5 and T1}, 
      author={Zihan Wang and Xinzhang Liu and Yitong Yao and Chao Wang and Yu Zhao and Zhihao Yang and Wenmin Deng and Kaipeng Jia and Jiaxin Peng and Yuyao Huang and Sishi Xiong and Zhuo Jiang and Kaidong Yu and Xiaohui Hu and Fubei Yao and Ruiyu Fang and Zhuoru Jiang and Ruiting Song and Qiyi Xie and Rui Xue and Xuewei He and Yanlei Xue and Zhu Yuan and Zhaoxi Zhang and Zilu Huang and Shiquan Wang and Xin Wang and Hanming Wu and Mingyuan Wang and Xufeng Zhan and Yuhan Sun and Zhaohu Xing and Yuhao Jiang and Bingkai Yang and Shuangyong Song and Yongxiang Li and Zhongjiang He and Xuelong Li},
      year={2025},
      eprint={2507.18013},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2507.18013}, 
}

Model tree forXingChen-AGI/Xing4.0-29B-A4Bhttps://huggingface.co/docs/hub/model-cards#specifying-a-base-model

Papers forXingChen-AGI/Xing4.0-29B-A4B

Similar Articles

XingChen-AGI/Xing4.0-29B-A4B MoE

Reddit r/LocalLLaMA

Xing4.0-29B-A4B is a next-generation MoE large language model developed by China Telecom, featuring 29B total parameters with 4B active per token, native support for 256K context length, and optimization for Ascend NPU with agent-oriented architecture for complex engineering tasks.

Venastine-Research/Xing4.0-29B-A4B-GGUF

Hugging Face Models Trending

中国中国电信AI团队开源了Xing系列(原TeleChat)的下一代大模型Xing4.0-29B-A4B,采用MoE架构(29B总参数、4B激活),原生支持256K上下文,并首次在昇腾NPU平台与MindSpore框架下完成全量训练,针对智能体任务与工程场景深度优化。

XHToken/Spark-X2.6-4B-GGUF

Hugging Face Models Trending

Spark-X2.6-4B is a compact 4B on-device language model released in GGUF format, featuring improved post-training for coding, agentic, long-context, and multilingual tasks along with a controllable thinking budget. It claims state-of-the-art performance among similarly sized open-source models, matching or surpassing ~9B parameter models.