/ Модель

Характеристики

Лицензия
Apache 2.0
Библиотека
transformers
Опубликована
16 сен 2026

Xing4.0-29B-A4B-GGUF

Генерация текстаТекст → текст15 профессий
5 696скачиваний за 30 дней162лайкавеса обновлены18 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Xing4.0-29B-A4B-GGUF — большая языковая модель серии Xing, разработанная China Telecom Artificial Intelligence Technology Co., Ltd.

Это GGUF-представление модели Xing4.0-29B-A4B с квантованием смешанной точности IQ4_NL; размер файла составляет около 18 ГБ, что позволяет запускать модель на одной пользовательской видеокарте. Модель распространяется под лицензией Apache 2.0.

Модель предназначена для генерации текста, сложного рассуждения, программирования, инженерных задач, многошагового планирования, вызова инструментов и агентских сценариев. Она также подходит для дообучения под прикладные задачи, включая классификацию намерений, анализ таблиц, аудит договоров и ответы на вопросы по корпоративным знаниям. Заявлена совместимость с Transformers, vLLM, SGLang, KTransformers, LLaMA-Factory и MindFormers, а также с рядом агентских фреймворков.

Архитектура включает MoE с 29 млрд общих параметров и 4 млрд активных параметров на токен, 40 слоёв, скрытый размер 3584, MLA-attention, 64 маршрутизируемых эксперта, 4 активных эксперта на токен и одного общего эксперта. Модель поддерживает контекст 256 тысяч токенов с возможностью расширения до 512 тысяч. Указана поддержка режима рассуждений, который можно включать или отключать при инференсе. README не сообщает полный список поддерживаемых языков и не описывает мультимодальные возможности, поэтому модель следует считать текстовой.

Сильными сторонами являются большой контекст, высокая эффективность MoE при инференсе, ориентация на агентские и программные задачи, а также возможность локального запуска и доменной адаптации. Ограничения включают необходимость совместимого инференс-стека и значительный объём памяти; показатели бенчмарков приведены авторами README и могут зависеть от настроек оценки. Сведения о безопасности, фильтрации контента и конкретных языковых ограничениях не указаны.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит15

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Contents

Run Locally with llama.cpp

This repository provides low-bit quantized weights and a quantization imatrix for Xing4.0-29B-A4B, covering a 2–8-bit quantization range and achieving better accuracy. Files range from 11 to 34 GB — pick a size that fits a single consumer-grade GPU.

[!TIP] llama.cpp support is in the mainline. Native support was merged into the llama.cpp mainline (#31589, 2026-11-05): a stock llama.cpp build b12174+ loads the GGUF files in this repository directly on CPU / CUDA — no patch build required.

# 1) download one quant that fits your GPU (2–8-bit, 11–34 GB) from the Files tab, e.g.
huggingface-cli download XingChen-AGI/Xing4.0-29B-A4B-GGUF <quant-file>.gguf --local-dir ./models

# 2) serve it with a stock llama.cpp build (b12174+)
llama-server -m ./models/<quant-file>.gguf -c 32768 -ngl 99

-ngl 99 offloads all layers to the GPU; drop it for CPU-only inference. For quant selection, launch flags, and troubleshooting, see the full guide: Running Xing4.0-29B-A4B locally.

Introduction

Xing4.0-29B-A4B is a next-generation large language model in the Xing series (formerly TeleChat), 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 was trained end-to-end on a fully in-house stack — from silicon to software — and is deeply optimized for complex engineering tasks: long-context planning, multi-step reasoning, tool calling, and structured output.

For full project documentation, deployment guides, and fine-tuning recipes, visit the GitHub repository or the BF16 repository.

Model at a Glance

QuantizationGGUF, 2–8-bit with quantization imatrix
Base modelXing4.0-29B-A4B
Weight sizes11–34 GB per file, single consumer-grade GPU
Recommended runtimellama.cpp b12174+ (native mainline support)
Total parameters29B
Activated parameters per token4B (~13.8% activation)
Context length256K native, extensible to 512K
LicenseApache 2.0

Highlights

  • 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 software–hardware co-optimization — adapted to domestic NPU clusters with a fully in-house training framework, including mHC feature adaptation and fused-operator development, enabling stable and efficient training at scale.
  • ~96% training throughput gain — fine-grained MoE communication optimization, selective recomputation, automatic graph–operator fusion, and hand-tuned fused mHC kernels lifted overall training throughput by approximately 96% over out-of-the-box performance.
  • Native in the open ecosystem — fine-tuning via ms-swift and LLaMA-Factory merged upstream; serving via SGLang mainline (#39793) and the official vLLM plugin; local GGUF inference via llama.cpp mainline (#31589, b12174+); format-aligned with agent frameworks such as OpenCode, Claude Code, OpenClaw, and Hermes for out-of-the-box workflows.
  • Easy adaptation for domain scenarios — lightweight customization on proprietary data for intent classification, table understanding, contract auditing, and knowledge-based QA, for rapid and low-cost domain capability deployment.

Architecture

Xing4.0-29B-A4B
Parameters29B (4B active)
Number of Layers40
Hidden Size3584
Dense FFN Intermediate Size9216
Expert Intermediate Size1024
Attention TypeMLA
Number of Routed Experts64
Active Experts per Token4
Number of Shared Experts1
Context Length256K (extensible to 512K)

Benchmarks

Scores below are measured on the base model (BF16). Head-to-head with same-class open agentic models:

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

Bold marks the best score in each benchmark.

Quickstart

Inference

Xing4.0-29B-A4B can be accessed via an OpenAI-compatible API (served with any stack below).

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)

Serving & Ecosystem

Your local path is llama.cpp — the GGUF files in this repository run natively in it (as of 2026-11-10):

StackXing4.0 supportSinceHow to run
llama.cppNative — mainline (#31589)2026-11-05Stock build b12174+ on CPU / CUDA with this repo's GGUF files
SGLangNative — mainline (#39793)2026-11-05Any recent mainline release; plugin for older versions
vLLMOfficial out-of-tree plugin—XingChen-AGI/xing4-vllm-plugin
TensorRT-LLM · KTransformersPR under upstream review—Install from the PR branch (see the GitHub README)

Prebuilt container images and step-by-step deployment guides are listed in the GitHub repository.

Recommended Parameters

Scenariotemperaturetop_prepetition_penalty
Complex reasoning / general tasks1.00.951.05
Coding / agent tasks0.80.951.05

Evaluation Details

  • SWE-bench Verified: We evaluate Xing4.0-29B-A4B using the SWE-agent harness with temperature=1.0, top_p=0.95, repetition_penalty=1.05 and a 210K context window.
  • Terminal-Bench 2.1: We evaluate in terminus-2 with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=64K and a 24-hour timeout. We report the average score over 3 runs.
  • SWE-bench Multilingual: We evaluate Xing4.0-29B-A4B using the SWE-agent harness with temperature=1.0, top_p=0.95, repetition_penalty=1.05 and a 210K context window.
  • Claw-Eval: We evaluate using the official harness with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=16384 and a 256K context window. We report the average score over 3 runs.
  • Tau3-Bench: We evaluate using the official harness with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=16384. We report the average pass^1 over 4 runs.
  • DeepresearchBII: We evaluate using the OpenCode harness with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=32768 and a 256K context window, with Exa MCP server enabled.
  • AIME2026: We evaluate with temperature=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 with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=81920.
  • AA.LCR: We evaluate with temperature=1.0, top_p=0.95, repetition_penalty=1.05, max_tokens=65536. We report the average score over 3 runs.

Citation

@misc{lab2026telechatxing4advancingfrontier,
      title={TeleChat to Xing4: Advancing Frontier Agentic Models on Domestic Chips and Frameworks}, 
      author={Xingchen AGI Lab and Baotian Hu and Bingkai Yang and Boyang Wang and Changzai Pan and Chao Lyu and Chao Wang and Chen Li and Chenshuo Pan and Chenyu Lin and Chenyuan Zhang and Chongming Liu and Dawei Fan and Di Wu and Dong Guo and Dong Li and Dongfang Li and Enlin Liu and Fanye Xiao and Fengkai Li and Fubei Yao and Gang Lin and Han Gao and Hanming Wu and Haowei He and Huapeng Liu and Hua Wang and Huinan Xu and Jiahong Xiong and Jiaxin Peng and Jianxiang Ma and Jianxing Zhuge and Jie Zhang and Ji Xiong and Jinglin Chen and Jingqi Li and Jingxuan Li and Jiwang Ye and Junchen Li and Junbiao Li and Junyang Wu and Kaidong Yu and Kaipeng Jia and Kehai Chen and Kuai Li and Laobin Liu and Lei Li and Libo Qin and Lingling Shi and Luwen Pu and Menghao Xu and Mengjiao Bao and Mengqi Chen and Min Zhang and Mingrui Wang and Naying Wang and Peicong Han and Peiming Guo and Pengfei Li and Qiang Feng and Qi Wang and Qingjun Zhu and Qingli Li and Qitai Ding and Qiyi Xie and Quanchao Zhao and Rongbao Han and Rui Xue and Ruiyu Fang and Ruiting Song and Shijie Li and Shiquan Wang and Shuangyong Song and Sishi Xiong and Teng Su and Wankang Bao and Weijie Zhang and Wei Mao and Weiwei Fu and Weiyang Huang and Wenmin Deng and Wenqing Hu and Wujie Zhong and Xi Yu and Xiaohui Hu and Xiaomin Fang and Xiaomeng Huang and Xiaoqiong Shi and Xiaotong Shang and Xiaoyu Li and Xinglei Xu and Xin Jiang and Xin Wang and Xin Zhang and Xinzhang Liu and Xue Liu and Xuefeng Bai and Xuewei He and Yahan Li and Yanhan Zhang and Yanlei Xue and Yanzhang Wu and Yang Yu and Yi Liu and Yin Zhang and Yingyan Li and Yitong Yao and Yixuan Li and Yongqiang Xia and Yongxiang Li and Yinzhou Zhu and Yu Zhao and Yuhao Jiang and Yunpeng Zhang and Yuting Lin and Yuxuan Wu and Yuyao Huang and Yuyi Wang and Zebo Peng and Zhenwu Pei and Zhenxiong Li and Zhao Wang and Zhaoxi Zhang and Zhihao Yang and Zhiqiang Dong and Zhiwei Yan and Zhilong Lu and Zhonghao Guo and Zhongheng Wu and Zhongjiang He and Zhongqiu Li and Zhu Yuan and Zhuoru Jiang and Zhuoyi Wei and Zijia Guo and Zilu Huang and Zhipeng Guo and Zirui Li and Zihan Wang},
      year={2026},
      eprint={2611.22115},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2611.22115}, 
}

@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}, 
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

llama.cpp

Нельзя запустить

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
b09c435

0 моделей