/ Модель

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

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

Xing4.0-29B-A4B-Finance-SFT

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

Диалоговая модель Xing4.0, дообученная для ответов на финансовые вопросы и анализа финансовых текстов на китайском и английском языках.

473скачиваний за 30 дней3лайкавеса обновлены20 сен 2026

Бенчмарки

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

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

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

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

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

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

Xing4.0-29B-A4B-Finance-SFT — полно-параметрическая донастройка методом supervised fine-tuning базовой модели Xing4.0-29B-A4B, подготовленная для финансовых задач на китайском и английском языках. Базовая модель разработана China Telecom AI Technology Co., Ltd. и использует архитектуру Mixture-of-Experts семейства Xing4.0; в карточке модели указано 6,5 млрд параметров и контекст 262 144 токена. Метаданные описывают её как диалоговую модель для генерации текста.

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

Модель может ошибаться, особенно в числовых и нормативных вопросах; финансовые данные следует сверять с первичными источниками. Она не предназначена для автономной торговли, принятия важных финансовых решений без проверки человеком или замены профессиональной финансовой, юридической либо инвестиционной консультации. Репозиторий распространяется по лицензии Apache-2.0 и требует загрузки пользовательского кода модели с параметром trust_remote_code=True.

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

  • ответы на вопросы по бухгалтерскому учёту и финансам
  • разбор вопросов финансовых экзаменов с пояснениями
  • ответы на вопросы по финансовой отчётности и документам
  • определение тональности финансовых новостей
  • создание китайско-английского финансового чат-ассистента
  • дальнейшая адаптация языковой модели для банковских и инвестиционных сценариев

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Xing4.0-29B-A4B-Finance-SFT

This model is a full-parameter supervised fine-tune (SFT) of XingChen-AGI/Xing4.0-29B-A4B, specialized for Chinese and English financial-domain tasks.

[!IMPORTANT] This repository requires trust_remote_code=True. It ships custom modeling code (modeling_xing4_0.py, configuration_xing4_0.py, tokenization_xing4_0.py) and declares an auto_map in config.json. Do not use trust_remote_code=False.

Base Model

Xing4.0-29B-A4B is developed by China Telecom AI Technology Co., Ltd. (中电信人工智能科技有限公司). It is a Mixture-of-Experts model in the Xing series (formerly the TeleChat series) with 29B total parameters, of which only ~4B are activated per token. It uses the mHC + MLA + MTP architecture, natively supports a 256K context window (extensible to 512K), and was trained on Ascend NPU clusters with the MindSpore framework.

Xing4.0-29B-A4B
Total / active parameters29B / 4B
Layers40
Hidden size3584
AttentionMLA
Routed experts64 (4 active per token) + 1 shared
Context length256K

Training Details

ItemValue
Fine-tuning typeFull-parameter SFT
Training sequence length2048
Learning rate7e-6 (AdamW, betas 0.9/0.95, weight decay 0.1)
LR scheduleWarmup + cosine decay, 30 warmup steps, cos_min_ratio 0.1
Total steps578 (≈2 epochs)
Per-device batch size4
Gradient accumulation4
GPUs8
Effective batch size128
Precisionbfloat16
Distributed strategyDeepSpeed ZeRO-3 (optimizer CPU offload, overlap_comm)
Gradient clipping1.0

Training Data

Approximately 368K financial-domain multi-turn chat samples (fin_sft_v1_368k_messages.jsonl, 368,415 records), aggregated from publicly available financial NLP datasets and corpora, covering:

  • Financial examinations / certification QA — accounting, securities, and finance exam questions with explanations (largest component).
  • Financial sentiment classification — classifying financial news and statements as positive / negative / neutral.
  • Financial question answering — QA over financial filings and reports.
  • Financial evaluation sets — a small held-out-style evaluation portion.

Samples are formatted in the base model's native chat template (<_system> / <_user> / <_bot> / <_end>), with <think>...</think> reasoning blocks where present.

Quickstart

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

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "HITSZ-TMG/Xing4.0-29B-A4B-Finance-SFT"

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

Chat

messages = [
    {"role": "system", "content": "你是一名专业的金融领域助手。"},
    {"role": "user", "content": "解释一下什么是久期,以及它对债券价格的影响。"},
]

text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=1024, temperature=1.0, top_p=0.95)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Thinking mode is controlled by the enable_thinking template flag (apply_chat_template(..., enable_thinking=True/False)).

Recommended generation parameters: temperature=1.0, top_p=0.95, repetition_penalty=1.05.

Intended Use and Limitations

  • Intended for: financial-domain Chinese/English assistants, financial QA, financial sentiment analysis, and as a starting point for further domain adaptation in banking, securities, and accounting scenarios.
  • Not intended for: use as a substitute for professional financial, legal, or investment advice; autonomous trading; or any high-stakes financial decision-making without human review.
  • The model inherits the limitations and biases of its base model and of the underlying public financial datasets.
  • Outputs may be factually incorrect ("hallucinated"), especially on numeric and regulatory questions. Always verify financial figures against primary sources.
  • This model has not been safety-aligned or red-teamed beyond the base model's own training; apply your own guardrails in production.

License

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

Citation

If you use this model, please cite the base model:

@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

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

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

Класс архитектуры
Xing4_0ForCausalLM
Ревизия весов
67b29ad

0 моделей