/ Модель

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

Контекст
262 144 токена
Параметры
6,5 млрд
Размер весов
62,4 ГБ
Лицензия
Apache 2.0
Архитектура
xingchen4 · dense
Базовая модель
Xing4.0-29B-A4B
Библиотека
transformers
Опубликована
22 сен 2026

Xing4.0-29B-A4B-NaturalChat

Генерация текстаТекст → текст3 профессии

Дообученная Xing4.0-29B-A4B для естественных многоходовых бесед и ролевого общения на китайском и английском языках.

15скачиваний за 30 дней2лайкавеса обновлены22 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

Xing4.0-29B-A4B-NaturalChat — дообученная модель для естественного диалога на китайском и английском языках, созданная на базе Xing4.0-29B-A4B компании China Telecom Artificial Intelligence Technology Co., Ltd. Она предназначена для непринуждённых многоходовых бесед и старается учитывать тон, эмоциональные сигналы, подтекст и историю разговора, подбирая длину ответа по ситуации. Поддерживает системные инструкции и заданные персонажи для общения в роли компаньона, ролевых игр и интерактивной прозы; может отвечать напрямую или использовать режим размышления.

Модель построена на архитектуре XingChen4 и использует формат safetensors. В карточке указано 6,5 млрд параметров, а для базовой Xing4.0-29B-A4B — 29 млрд общих и около 4 млрд активных параметров; нативный контекст составляет 262 144 токена. Лицензия — Apache-2.0.

Модель ориентирована на качество и связность общения, а не на максимизацию результатов бенчмарков. Она может выдавать недостоверные сведения, повторяться или терять детали в длинных беседах; последовательность персонажа зависит от системной инструкции, параметров генерации и истории диалога. Не предназначена для высокорисковых решений и профессиональных медицинских, юридических или финансовых рекомендаций.

Сценарии применения

  • непринуждённые диалоги на китайском и английском
  • общение с виртуальным компаньоном
  • ролевые игры с заданными персонажами
  • создание интерактивной прозы
  • диалоги для игр и приложений

Ограничения

Модель может выдумывать факты, повторяться и терять детали в длинных диалогах; тон общения не гарантирует фактическую надёжность. Не предназначена для высокорисковых решений или профессиональных медицинских, юридических и финансовых рекомендаций.

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

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

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

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

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

Открыть на Hugging Face

Xing4.0-29B-A4B-NaturalChat

This model is a conversational fine-tune of XingChen-AGI/Xing4.0-29B-A4B, specialized for natural, engaging, and context-aware Chinese and English dialogue.

Instead of responding like a formal assistant in every turn, the model is tuned to behave more like an active conversation partner: concise when appropriate, expressive when needed, and attentive to tone, subtext, and conversational continuity.

Highlights

  • Natural conversation — tuned for fluent, everyday Chinese and English dialogue with less formal, assistant-style phrasing.
  • Context-aware responses — designed to follow conversational context, emotional cues, implied intent, callbacks, and natural topic transitions.
  • Adaptive response length — aims to answer briefly when appropriate while retaining enough detail for more involved conversations.
  • Multi-turn interaction — optimized for coherent, engaging dialogue across multiple turns rather than isolated question answering.
  • Flexible personas — supports system prompts and character definitions for companion chat, roleplay, interactive fiction, and dialogue-driven applications.
  • Thinking control — supports both direct conversational replies and thinking mode for prompts that require more deliberate reasoning.

What “Natural Chat” Means

This is primarily a behavior adaptation, rather than a fine-tune intended only to maximize benchmark scores. It aims to improve the choices a model makes during a conversation: what to respond to, how much to say, when to ask a question, and how to preserve the tone and relationship established in previous turns.

The model is tuned to:

  • respond to the most meaningful part of a message instead of mechanically addressing every detail;
  • vary response length according to the conversational context;
  • follow mood, subtext, callbacks, and natural topic transitions;
  • take conversational initiative without constantly redirecting the user;
  • avoid unnecessary headings, lists, summaries, and customer-service phrasing;
  • keep roleplay characters conversational instead of turning them into generic assistants with a character description;
  • follow a supplied system prompt when a specific identity, tone, setting, or relationship is desired.

Base Model

Xing4.0-29B-A4B is developed by China Telecom Artificial Intelligence Technology Co., Ltd. (中电信人工智能科技有限公司). It is a Mixture-of-Experts model in the Xing series, formerly the TeleChat series, with 29B total parameters and approximately 4B parameters activated per token.

The base model uses the mHC + MLA + MTP architecture and natively supports a 256K context window, extensible to 512K with an appropriate runtime configuration.

Xing4.0-29B-A4B-NaturalChat
Base modelXingChen-AGI/Xing4.0-29B-A4B
Total / active parameters29B / approximately 4B
Layers40
Hidden size3584
AttentionMLA
Routed experts64, with 4 active per token
Shared experts1
Native context length256K
LanguagesChinese and English
ModalityText only

Training Data

The training mixture focuses on conversational behavior, including:

  • natural Chinese multi-turn dialogue;
  • casual and personal conversation;
  • character-based interaction and roleplay;
  • emotionally aware responses;
  • conversational callbacks and topic transitions;
  • creative dialogue and interactive-fiction scenarios;
  • general instruction data used to preserve the base model's utility.

Quickstart

Because this is a custom_code model, set trust_remote_code=True.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "summergrove/Xing4.0-29B-A4B-NaturalChat"

tokenizer = AutoTokenizer.from_pretrained(
    model_id,
    trust_remote_code=True,
)

model = AutoModelForCausalLM.from_pretrained(
    model_id,
    trust_remote_code=True,
    device_map="auto",
    dtype=torch.bfloat16,
).eval()

Chat

For ordinary conversation, disabling thinking usually produces more direct responses with lower latency.

messages = [
    {
        "role": "system",
        "content": "你是一位自然、友善的聊天伙伴,采用生活化口语表达,语气亲和自然、有温度,尝试理解用户的情绪和意图,并给予贴合语境的回应。",
    },
    {
        "role": "user",
        "content": "我本来只想躺十分钟,结果醒来天都黑了。",
    },
]

text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=False,
)

model_inputs = tokenizer(text, return_tensors="pt").to(model.device)

generated_ids = model.generate(
    **model_inputs,
    top_p=0.95,
    temperature=1.0,
    repetition_penalty=1.05,
    max_new_tokens=512
)

response = tokenizer.decode(generated_ids[0], skip_special_tokens=False, spaces_between_special_tokens=False)
answer = response.split("</think>")[-1].strip()
print(answer)

OpenAI-Compatible API

After deploying the model with a compatible inference server:

from openai import OpenAI

client = OpenAI(
    base_url="http://127.0.0.1:8000/v1",
    api_key="EMPTY",
)

response = client.chat.completions.create(
    model="Xing4.0-29B-A4B-NaturalChat",
    messages=[
        {
            "role": "system",
            "content": "你是一位自然、友善的聊天伙伴,采用生活化口语表达,语气亲和自然、有温度,尝试理解用户的情绪和意图,并给予贴合语境的回应。",
        },
        {
            "role": "user",
            "content": "今天回家的时候突然下雨了,还好有人借了我一把伞。",
        },
    ],
    temperature=1.0,
    top_p=0.95,
    max_tokens=512,
    extra_body={
        "repetition_penalty": 1.05,
    },
)

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

Recommended Generation Parameters

The following values are suggested starting points. Different characters and applications may benefit from additional tuning.

For casual conversation, start with:

{
  "temperature": 1.0,
  "top_p": 0.95,
  "repetition_penalty": 1.05
}

Intended Use and Limitations

  • Intended for: Chinese and English casual conversation, companion-style applications, character roleplay, interactive fiction, dialogue-heavy games, creative improvisation, and conversational research.
  • Not intended for: high-stakes decisions, professional medical, legal, or financial advice, or autonomous real-world actions without human supervision.
  • The model may generate incorrect or fabricated information. A natural tone should not be interpreted as factual reliability.
  • Long conversations may still contain repetition, forgotten details, or inconsistencies despite the base model's long context window.
  • Character consistency depends on the system prompt, sampling parameters, and conversation history.
  • The model inherits limitations and biases from its base model and fine-tuning data. Fine-tuning may also reduce performance on tasks outside the training distribution.
  • The model has not necessarily been evaluated for every language, domain, or safety-sensitive use case. Apply application-specific evaluation and safeguards before production deployment.

License

This model is released under the Apache-2.0 license, inherited from XingChen-AGI/Xing4.0-29B-A4B. Users must also comply with the terms attached to the upstream model and all datasets used during fine-tuning.

Acknowledgements

This model is based on XingChen-AGI/Xing4.0-29B-A4B, developed by China Telecom Artificial Intelligence Technology Co., Ltd.

Thanks to the XingChen team for releasing the base model and supporting the open-source community.

Citation

If you use this model, please cite both this repository and the base model:

@misc{xing4_natural_chat,
  title  = {Xing4.0-29B-A4B-NaturalChat},
  author = {TODO},
  year   = {2026},
  url    = {https://huggingface.co/summergrove/Xing4.0-29B-A4B-NaturalChat}
}

@misc{xing4_0_29b_a4b,
  title  = {Xing4.0-29B-A4B},
  author = {China Telecom Artificial Intelligence Technology Co., Ltd.},
  year   = {2026},
  url    = {https://huggingface.co/XingChen-AGI/Xing4.0-29B-A4B}
}

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

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

GPU в ailist

Универсальный рантайм · transformers

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
XingChen4ForCausalLM
Ревизия весов
c772e6d

0 моделей