/ Модель

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

Контекст
32 768 токенов
Параметры
2,6 млрд
Лицензия
openmdw-1.1
Архитектура
qwen3_moe · MoE
Базовая модель
Qwen3-30B-A3B-Base
Библиотека
transformers
Опубликована
30 окт 2026

Qwen3-30B-A3B-Chat-Aligned-Base-2026.10.30

Генерация текстаТекст → текст3 профессии
469скачиваний за 30 дней0лайковвеса обновлены31 окт 2026

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

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

Экспериментальная MoE-модель Qwen3, дообученная для чата, рассуждений и формата вызова инструментов, предназначенная как основа для исследований постобучения.

Qwen3 30B-A3B Chat-Aligned Base — экспериментальный чекпойнт open-athena, полученный трёхэтапным supervised fine-tuning базовой модели Qwen/Qwen3-30B-A3B-Base. Модель построена на архитектуре Qwen3 MoE: 48 слоёв, 128 маршрутизируемых экспертов с top-8; всего 30,5 млрд параметров, около 3 млрд активны на токен. Веса bf16 сохранены в формате safetensors. Нативная длина контекста — 32 768 токенов.

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

В README отмечены незакрытые блоки рассуждений, некорректный JSON вызовов терминального агента и повторение ответов до тайм-аута; в одном слое маршрутизатора больше почти неиспользуемых экспертов, чем у базовой модели. Чекпойнт не прошёл две части экспериментального критерия приёмки, не проходил полноценную оценку и не имеет настройки предпочтений или безопасности. Лицензия — OpenMDW 1.1.

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

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

Ограничения

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

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

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

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

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

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

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

Qwen3 30B-A3B Chat-Aligned Base (2026.10.30)

Research artifact. This model has not been properly tested or evaluated and is not necessarily secure. Use at your own risk in production settings.

This is Qwen's pretrained Qwen/Qwen3-30B-A3B-Base (revision 1b75feb7), after a short three-stage supervised fine-tune (SFT) that teaches it a chat, thinking and tool-call format. It is a starting point for post-training research, not a finished assistant: it has had no preference or safety tuning. It is not Qwen's own chat model, Qwen3-30B-A3B.

It was built for a Marin experiment on how on-policy distillation (OPD) and fine-tuning interfere across tasks in mixture-of-experts (MoE) models. The experiment gives four MoE architectures the same SFT recipe, so that later methods start from comparable chat-capable bases. The companion models are in the same collection.

Known shortfalls. This model failed two parts of the experiment's acceptance gate (the checks a fine-tune had to pass before the experiment used it) and was accepted as is. Read Evaluation and known behavior before using it.

  • It often writes its whole answer inside an unclosed think block.
  • It rarely completes terminal-agent tasks: its agent-turn JSON is usually malformed, and it then repeats the same reply until it times out.
  • In one router layer, slightly more experts are nearly unused than in the base model.
ArchitectureQwen3MoeForCausalLM (qwen3_moe): 48 layers, 128 routed experts (top-8), no shared expert, grouped-query attention (32 query heads, 4 KV heads)
Parameters30.5B total, about 3B active per token
Weightsbf16, 3 safetensors shards, 61 GB
Context32,768 positions natively; evaluated at 131,072 with YaRN ×4 (see Serving)
Tokenizerthe base model's, included

How it was trained

Three stages, each one epoch of packed 32,768-token sequences, each starting from the previous stage's weights with a fresh optimizer. All stages use AdamW (adamw_torch_fused; β 0.9/0.95, ε 1e-8), learning rate 5e-6 with cosine decay and no warmup, weight decay 0, gradient clipping at 1.0 and 64 sequences per step. Packed conversations could not attend to each other. The router's auxiliary load-balancing loss (coefficient 0.001) was on, as in Qwen's pretraining. Training used the marin-community/axolotl fork at a208d550 with transformers 5.12.1, FlashAttention 3, fp32 master weights and bf16 compute, on 16 H100s. Conversations longer than 32,768 tokens were dropped. Every stage used the chat template in this repository: Qwen3's template with {% generation %} markers added for training-label masking. The stage-3 settings are in axolotl_config.yaml and axolotl_run_manifest.json.

StageDataSteps
1. Chatnyu-dice-lab/wildchat50m-rewild-sft-385700 @ 46a5bb5255
2. Thinkinglaion/llama-nemotron-science-reasoning-on-canonical-think-full @ bae881d634
3. Terminal agentnvidia/Nemotron-Terminal-Corpus @ a1667c4680 (1.43B tokens, of which 0.63B were trained on)

This export is the bf16 copy of stage 3's final fp32 weights.

Chat format

The chat template is Qwen3's, with {% generation %} markers added for training. It is in chat_template.jinja and is also embedded in tokenizer_config.json.

<|im_start|>system
{system}<|im_end|>
<|im_start|>user
{user}<|im_end|>
<|im_start|>assistant
<think>
{reasoning}
</think>

{answer}<|im_end|>
  • Turn end: <|im_end|> (id 151645), which is also the tokenizer's end-of-sequence token, so runtimes stop on it by default. <|endoftext|> (151643) is a second stop.
  • Thinking: nothing is prefilled; the model decides whether to think. Reasoning sits between <think> (151667) and </think> (151668). These are ordinary vocabulary tokens, not special tokens, so they stay in the returned text. All evaluation used this default prompt. The template's enable_thinking=False option, which prefills an empty think block, was not tested.
  • Multi-turn: send earlier replies back as the assistant message's content. If a reply's think block closed, the template moves the reasoning out of the content and, as in Qwen's release, drops it from turns before the latest user message. If the think block never closed (common for this model, see below), the template passes the whole <think>… text through unchanged. Send back only the extracted answer instead.
  • Tools: unlike the other models in the collection, this template does render the tools request field. It lists the function signatures in the system turn and asks for <tool_call>\n{"name": ..., "arguments": {...}}\n</tool_call>. Tool results go in tool messages and are rendered inside a user turn as <tool_response>\n...\n</tool_response>. An assistant message that carries tool_calls must have a string content, such as "", not None. The template checks '</think>' in message.content and raises a TypeError on None, which OpenAI-style clients often send back. <tool_call> and </tool_call> are single tokens (151657, 151658), as vLLM's hermes tool parser expects.

Recommended decode

generation_config.json sets the sampling used for every evaluation below; vLLM and transformers apply it by default. The token limits are client-side settings, not part of that file.

SettingValue
temperature0.6
top_p0.95
repetition_penalty1.05
stop`<
max new tokens32,768 for single-turn; 16,384 per agent turn

Serving

Stock vLLM and transformers support qwen3_moe. config.json uses the transformers 5 format (rope_parameters), so use transformers>=5 (pip install "transformers>=5" accelerate) and a vLLM release built on it. Evaluation used Marin's vLLM build 0.0.0.dev20260924+marin.01911be34fac on one node of 8 H100 80 GB GPUs, with data parallelism and expert parallelism, a 131,072-token context and up to 32 concurrent sequences. Recent stock vLLM releases should also work but were not tested with this checkpoint.

The native context is 32,768 tokens. Evaluation extended it to 131,072 with YaRN ×4, as Qwen documents for Qwen3, passed at serve time rather than written into config.json. Qwen notes that static YaRN can slightly reduce quality on short texts, so leave it off if you don't need long contexts.

vllm serve open-athena/Qwen3-30B-A3B-Chat-Aligned-Base-2026.10.30 \
  --data-parallel-size 8 --enable-expert-parallel \
  --max-model-len 131072 --max-num-seqs 32 --max-num-batched-tokens 7168 \
  --hf-overrides '{"rope_parameters": {"rope_type": "yarn", "factor": 4.0, "original_max_position_embeddings": 32768, "rope_theta": 1000000.0}, "max_position_embeddings": 131072}' \
  --enable-auto-tool-choice --tool-call-parser hermes

--max-num-batched-tokens 7168 caps the tokens per scheduler step and was chosen for throughput; it isn't required.

On one 80 GB GPU the 61 GB of weights leave too little room for a 131,072-token KV cache. Serve the native context instead (not tested):

vllm serve open-athena/Qwen3-30B-A3B-Chat-Aligned-Base-2026.10.30 \
  --max-model-len 32768 --enable-auto-tool-choice --tool-call-parser hermes

At a 32,768-token context, the prompt and max_tokens must fit together, so lower max_tokens below in that case.

from openai import OpenAI

def split_reply(text):
    """Return (reasoning, answer). reasoning is None without a think block;
    answer is None if the think block never closed (common for this model)."""
    text = (text or "").lstrip()
    if not text.startswith("<think>"):
        return None, text
    reasoning, closed, answer = text[len("<think>"):].partition("</think>")
    return reasoning.strip(), (answer.strip() if closed else None)

client = OpenAI(base_url="http://localhost:8000/v1", api_key="unused")
reply = client.chat.completions.create(
    model="open-athena/Qwen3-30B-A3B-Chat-Aligned-Base-2026.10.30",
    messages=[{"role": "user", "content": "How many primes are there below 50?"}],
    max_tokens=32768,
)
reasoning, answer = split_reply(reply.choices[0].message.content)
if answer is None:
    answer = reasoning  # the answer was written inside the unclosed think block

With transformers, for contexts up to 32,768 tokens:

from transformers import AutoModelForCausalLM, AutoTokenizer

name = "open-athena/Qwen3-30B-A3B-Chat-Aligned-Base-2026.10.30"
tokenizer = AutoTokenizer.from_pretrained(name)
model = AutoModelForCausalLM.from_pretrained(name, dtype="bfloat16", device_map="auto")
messages = [{"role": "user", "content": "How many primes are there below 50?"}]
inputs = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, return_dict=True, return_tensors="pt"
).to(model.device)
output = model.generate(**inputs, max_new_tokens=32768 - inputs["input_ids"].shape[1])
print(tokenizer.decode(output[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Evaluation used no vLLM reasoning parser; replies were split as above. vLLM's qwen3 reasoning parser expects a closed think block, so it would misfile this model's unclosed replies as reasoning.

Evaluation and known behavior

The SFT had to pass a gate before the model was used in the experiment. P_chat is 200 single-turn chat prompts and P_think is 200 olympiad-style reasoning prompts, both at the recommended decode. Replies that hit the 32,768-token limit while still inside their think block count as length-limited and are excluded from the denominators: 0 on P_chat and 33 on P_think, 23 of them repetition loops.

CheckThresholdP_chatP_think
Turn ends on `<im_end>`≥98%
Think block closes, followed by an answer≥98%35.3% (61 of 173), below threshold80.8% (135 of 167), below threshold
Replies containing </think> / replies opening <think>—65 / 173135 / 200
P_think answer accuracy——63.5%

The agentic check, P_agent, runs 32 terminal tasks in the Terminus-2 harness. Each agent turn must be a JSON object with analysis, plan and commands. It was served at 131,072 tokens with YaRN ×4, the hermes tool parser and the recommended decode.

CheckThresholdResult
P_agent tasks ending validly (see below)≥29 of 3232 of 32, but only 1 completed: 30 hit the time limit, 1 grader failure
Agent turns whose JSON parses≥95%14.9% (499 of 3,356), below threshold
Tasks solved—2 of 31 scored

The model uses the Terminus-2 format but usually breaks the JSON. 1,724 turns contain no complete JSON object (most are cut off mid-object; the median turn is 187 characters). 1,129 contain invalid JSON, mostly bad \ escapes in keystrokes. After the first error, the model often repeats its previous reply verbatim: 1,910 turns do so. Most tasks therefore loop until they time out (30 of 32). A task counts as valid if it completes, hits the harness's 3,000-second agent time limit, or ends with the grader failing; time-outs are expected when small models act as agents, and grader failures are not the model's. Any other harness error counts against the model. So the task count passes, and the broken agent format shows in the parse rate.

The gate also checks the router. For each layer, it compares the share of experts that get under 10% of the mean load against the base model; it allows an increase of at most 2 percentage points.

LayerExperts under 10% of mean load (of 128)BaseIncrease (percentage points)
4716 (12.50%)13 (10.16%)+2.34, over the limit
429 (7.03%)7 (5.47%)+1.56
4616 (12.50%)14 (10.94%)+1.56
44, 4512 (9.38%)11 (8.59%)+0.78

One expert is 0.78 percentage points, so layer 47 is one expert over the limit. Measured on the same 2.15M tokens of mixed chat, reasoning and agent text for both models.

All three shortfalls were accepted rather than fixed with extra training.

What this means in use:

  • Answers often sit inside an unclosed think block. On chat prompts, the model opens a think block on 173 of 200 replies, and only 65 of those ever write </think>. The rest put the whole answer inside the block and end the turn there. Treat everything after <think> as the answer when no </think> follows, as the snippet above does. Reasoning prompts close more often (135 of 200). The final training stage, on terminal-agent data, caused this: after stage 2 the same check gave 89.8% and 96.9%.
  • Agent use mostly fails. In terminal-agent loops, expect malformed JSON and verbatim repeats of the previous turn, as above. Validate and retry each turn rather than relying on the model to recover.
  • Reasoning can loop at length. 33 of 200 reasoning replies ran to the 32,768-token limit, mostly in repetition loops. Always set a max_tokens limit.
  • One router layer is slightly less balanced than the base: layer 47, above. Expert-routing analyses should take this into account.
  • Only the checks above were run. There is no broad capability evaluation.

License

This repository's modifications are released under OpenMDW 1.1; the full text is in LICENSE. The model is a derivative of Qwen/Qwen3-30B-A3B-Base, which Qwen released under the Apache License 2.0. A copy is in LICENSE.Qwen3-Apache-2.0, and the base model's terms continue to apply to the parts derived from it. Modified from the base repository: the weights (by the fine-tune described above), config.json, generation_config.json (sampling defaults) and tokenizer_config.json (end-of-sequence token set to <|im_end|>; chat template embedded). The base repository ships no NOTICE file. The training datasets carry their own licenses; see each dataset's card.

We release our tools to the public with the intent that they are used safely, ethically, and responsibly. They are meant to contribute to the public's understanding of science, and aid in its advancement. By using this model, you agree to comply with all applicable law.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3MoeForCausalLM
Ревизия весов
82354af

0 моделей