/ Модель

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

Контекст
8 192 токена
Параметры
1,6 млрд
Размер весов
72 ГБ
Лицензия
Apache 2.0
Архитектура
xverse · MoE
Базовая модель
XVERSE-MoE-A5.7B
Библиотека
transformers
Опубликована
29 дек 2025

XVERSE-Ent-A5.7B

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

Англоязычная MoE-модель XVERSE для генерации художественных текстов и диалогов в сфере развлечений.

94скачиваний за 30 дней0лайковвеса обновлены30 дек 2025

Бенчмарки

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

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

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

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

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

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

XVERSE-Ent-A5.7B — англоязычная языковая модель компании XVERSE (Shenzhen Yuanxiang), настроенная на задачи индустрии развлечений. Она предназначена для генерации художественных текстов и диалогов, сохраняя при этом общие языковые возможности. Модель использует архитектуру Mixture-of-Experts (MoE) и контекстное окно 8 192 токена; в README для этой версии указано 36 млрд параметров, тогда как метаданные Hugging Face содержат значение 1,6 млрд.

Модель создана преобразованием плотной базовой модели в MoE методом Sparse Upcycling с последующим многоэтапным обучением, включая этап усиления возможностей в сфере развлечений. По заявлению разработчика, она обучена примерно на 1 трлн токенов и показывает хорошие результаты в генерации художественной прозы и разговорных текстов. Доступна под лицензией Apache-2.0.

Как и другие большие языковые модели, XVERSE-Ent-A5.7B может выдавать неточные, предвзятые или оскорбительные ответы. Разработчик рекомендует проверять безопасность и качество модели перед внедрением в конкретное приложение.

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

  • написание художественной прозы и рассказов на английском языке
  • генерация диалогов для развлекательных приложений
  • создание черновиков сцен и реплик персонажей
  • подготовка разговорных текстов для игр и интерактивных историй

Ограничения

Модель может генерировать неточную, предвзятую или оскорбительную информацию; разработчик рекомендует проводить проверки безопасности и качества перед внедрением. В источниках расходятся сведения о размере: README указывает 36 млрд параметров, метаданные — 1,6 млрд.

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

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

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

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

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

Открыть на Hugging Face

Model Introduction

The XVERSE-Ent series is a family of domain-specific, pretrained models developed by XVERSE (Shenzhen Yuanxiang) for the Entertainment domain. These models are trained and optimized on XVERSE’s large-scale, high-quality entertainment-domain data, thereby filling the gap for open-source large language models in the entertainment domain.

XVERSE-Ent includes both Chinese and English models:

  • XVERSE-Ent-A4.2B (Chinese)
  • XVERSE-Ent-A5.7B (English)

Both models adopt a Mixture-of-Experts (MoE) architecture. Detailed technical information is provided below.

ModelXVERSE-Ent-A4.2BXVERSE-Ent-A5.7B
LanguageChineseEnglish
Training RecipeMulti-stage TrainingFine-grained Upcycling + Multi-stage Training
Total Parameters25B36B
Activated Parameters4.2B5.7B
Number of Layers2832
Hidden Dimension25603072
Number of Attention Heads3232
Number of Shared Experts22
Number of Non-Shared Experts6464
Selected Experts per Token88
Vocabulary Size100K128K
Context Length8K8K

Technical Overview

XVERSE-Ent leverages Sparse Upcycling to convert a dense model into a large-scale MoE model. Combined with a carefully designed multi-stage training strategy, the models substantially enhance domain-specific capabilities while preserving most general-purpose abilities.

Sparse Upcycling

Sparse Upcycling is a technique that transforms a pretrained dense model into a MoE model without training from scratch. This approach enables a significant increase in total model capacity while substantially reducing training cost and time.

The upcycling process consists of two main steps:

  1. Fine-grained FFN Decomposition
    The Feed-Forward Network (FFN) layers of the dense model are decomposed into multiple smaller sub-networks. Each sub-network is treated as an independent expert in the MoE model. To better accommodate inference-time GPU memory constraints, expert sub-networks can be replicated as needed, enabling flexible adaptation to different hardware configurations.

  2. Attention Reuse
    The attention layers of the original dense model are preserved and directly reused in the MoE model. This design choice maximizes the retention of the original model’s general-purpose capabilities and ensures training stability during architectural transformation.

An illustration of the fine-grained FFN decomposition is shown below. In this example, a single FFN is split into two sub-networks, each serving as a separate expert.

In contrast, when the FFN is not decomposed, and the entire FFN is treated as a single expert, the approach we call coarse-grained decomposition is illustrated below.

Multi-Stage Training Strategy

XVERSE-Ent adopts a three-stage training pipeline to build models optimized for specific languages and domains:

  • S0: Capability Reconstruction – recovering general-purpose capabilities after architectural transformation
  • S1: Language Enhancement – enhancing the model’s modeling capability for the target language
  • S2: Domain Enhancement – enhancing the model’s generation and understanding abilities in the entertainment domain

The first two stages use general-domain data, while the final stage uses a mixture of general-domain and entertainment-domain data. This multi-stage design maximizes retention of general capabilities while significantly improving domain-specific performance.

XVERSE-Ent-A4.2B (Chinese) is obtained by applying S2 domain-enhancement training on the general-domain backbone XVERSE-MoE-A4.2B.
XVERSE-Ent-A5.7B (English) is built by transforming a general dense backbone into a MoE model via fine-grained MoE upcycling, followed by the full multi-stage training pipeline. Both the Chinese and English models support an 8K context window and are trained on ~1T tokens.

Model Evaluation

To evaluate domain-specific performance, we constructed multiple evaluation datasets across different domains:

  • fiction: novel and story-oriented texts
  • conversation: dialogue-oriented texts
  • webcc: general web text

The evaluation metric is Perplexity (PPL), where lower values indicate better performance.

The evaluation results demonstrate that XVERSE-Ent achieves excellent performance on entertainment tasks such as fiction writing and conversational generation, while maintaining strong general capabilities:

  • Performance on general benchmarks (e.g., MMLU, mathematics, and code) shows minimal degradation
  • Overall general capability retention exceeds 98%

These results confirm that XVERSE-Ent effectively enhances entertainment-domain performance without sacrificing general-purpose reasoning ability.

PerplexityXVERSE-MoE-A4.2B(General-domain)XVERSE-Ent-A4.2B(Entertainment-domain)
XfictionEN1.73741.7516
XfictionZH1.73151.5368
XwebccEN1.55191.6008
XwebccZH1.56461.6861
XconversationEN1.39181.3517
XconversationZH1.4131.3353
AVG(all)1.56501.5437
AVG(fiction + conversation)1.56841.4939
PerplexityDense-BaseCoarse-grained Upcycling(General-domain)Coarse-grained Upcycling(Entertainment-domain)Fine-grained Upcycling(General-domain)XVERSE-Ent-A5.7B(Fine-grained Upcycling, Entertainment-domain)
XfictionEN2.59912.60892.37402.59432.3620
XfictionZH2.73442.25652.17232.24372.1528
XwebccEN2.54752.47112.45572.44852.4283
XwebccZH2.92992.07912.11162.06512.0905
XconversationEN2.14432.08921.94392.07111.9194
XconversationZH2.34781.86101.85131.82491.8045
AVG(all)2.55052.22762.15152.20792.1263
AVG(fiction + conversation)2.45642.20392.08542.18352.0597

Usage

Loading with Transformers

The XVERSE-Ent-A5.7B model can be loaded for inference using the following code:

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("xverse/XVERSE-Ent-A5.7B")
model = AutoModelForCausalLM.from_pretrained("xverse/XVERSE-Ent-A5.7B", trust_remote_code=True, torch_dtype=torch.bfloat16, device_map='auto')
model = model.eval()
inputs = tokenizer('Time crept by, second after second. The sound of rain, the refrigerator’s occasional hum, the rush of water through unseen pipes in the walls—everything seemed amplified. Lin Yu realized he was counting his breaths, as if the moment he stopped, the room would be filled with a presence that did not belong to him.', return_tensors='pt').input_ids
inputs = inputs.cuda()
generated_ids = model.generate(inputs, max_new_tokens=70, eos_token_id=tokenizer.eos_token_id, repetition_penalty=1.1)
print(tokenizer.batch_decode(generated_ids, skip_special_tokens=True))

Limitations and Disclaimer

Like all other Large Language Models (LLMs), XVERSE-Ent series models may produce inaccurate, biased, or otherwise offensive content under certain circumstances. Therefore, please use the model-generated content with caution and refrain from disseminating harmful content. Before deploying any application based on the XVERSE-Ent series models, developers should conduct safety tests and optimize the model for its specific application.

We strongly discourage the use of the XVERSE-Ent series models for producing or disseminating harmful information, or for conducting any activities that might harm the public, national security, or social security, or violate regulations. We assume no responsibility for any problems arising from the use of the XVERSE-Ent series models, including data security issues, public opinion risks, or risks arising from misunderstanding, misuse, dissemination, or non-compliance with the model.

Open Source License

The use of the source code in this repository must follow the Apache-2.0 open-source license, while the use of the model weights of XVERSE-Ent series models needs to adhere to the Model License Agreement.

The weights of XVERSE-Ent series models are fully open to academic research and support unrestricted commercial use. For other questions or collaborations, please contact opensource@xverse.cn.

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

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

GPU в ailist

vLLM

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

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

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

0 моделей