/ Модель

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

Контекст
262 144 токена
Размер весов
70,3 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_5_moe · dense
Базовая модель
Qwen3.5-35B-A3B-Base-Kazakh
Библиотека
transformers
Опубликована
5 авг 2026

Qwen3.5-35B-A3B-Kazakh

Изображение и текст → текст12 профессий

Казахская адаптация мультимодальной Qwen3.5 для диалогов, ответов на вопросы и анализа изображений на казахском и английском языках.

1 472скачиваний за 30 дней1лайквеса обновлены19 авг 2026

Бенчмарки

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

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

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

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

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

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

Qwen3.5-35B-A3B-Kazakh — мультимодальная модель ISSAI на архитектуре Qwen3.5 MoE для диалогов на казахском и английском языках с поддержкой изображений и видео. Это адаптация Qwen3.5-35B-A3B: базовую модель продолжительно обучали на казахских текстах, расширили словарь на 16 тысяч казахских токенов, затем перенесли инструкционное выравнивание официальной instruct-модели методом chat-vector merge. Ветвь зрения и мультимодальный проектор восстановлены из официальной модели.

Модель предназначена для ответов на вопросы, диалогов и анализа визуальных материалов, в том числе на казахском языке. По данным README, она сохраняет большинство возможностей базовой модели, но отвечает более краткими рассуждениями; на сложных задачах рассуждения качество может снижаться. Зрение не дообучалось специально, поэтому на визуальных тестах возможна деградация. Для запуска указаны Transformers и vLLM; максимальная длина контекста в метаданных не приведена. Лицензия — Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.5-35B-A3B-Kazakh

Qwen3.5-35B-A3B-Kazakh is a Kazakh adaptation of Qwen/Qwen3.5-35B-A3B. It extends the tokenizer with an additional Kazakh vocabulary for more efficient tokenization, is continued-pretrained on Kazakh text, and is then re-aligned to the official instruct model. This makes the model more efficient on Kazakh text and adds knowledge, while preserving the capabilities of the base model.

Methodology

This model is produced in two stages on top of our Kazakh continued-pretraining model issai/Qwen3.5-35B-A3B-Base-Kazakh, the official Qwen/Qwen3.5-35B-A3B-Base continued-pretrained on Kazakh text with a +16K Kazakh-token vocabulary extension. No additional post-training (SFT, RLHF, or RLVR) is used.

1. Chat-vector merge, transferring instruct alignment

We transfer the instruction-following / chat alignment of the official post-trained model using the chat vector method (Huang et al., 2024). Let

The chat vector is the task vector of post-training,

$$\tau_\text{chat} = \theta_\text{inst} - \theta_\text{base},$$

and it is added to our Kazakh continued-pretraining model:

$$\theta_\text{merged} = \theta_\text{cpt} + \tau_\text{chat} = \theta_\text{cpt} + (\theta_\text{inst} - \theta_\text{base}),$$

applied per parameter tensor, by name. Because our tokenizer is vocabulary-extended, the input-embedding and output (lm_head) matrices are merged row-wise: the shared original-vocabulary rows receive the chat vector, while the 16K new Kazakh-token rows are kept from θ_cpt (the official models have no counterpart for them). embed_tokens and lm_head are untied and are merged independently. This model is a Mixture-of-Experts; the official checkpoints store the experts fused (experts.gate_up_proj, experts.down_proj), so our per-expert weights are fused to that layout before the merge, and the router / shared-expert weights are merged by name like any other tensor.

Special-token pinning. The rows of the format-control special tokens <think>, </think>, <|im_start|>, <|im_end|> and <|endoftext|> (in both the embedding and lm_head) are set to the official post-trained model's exact values instead of the merged values. These few rows drive the chat template's control flow (emitting </think> to close the reasoning block and <|im_end|> to end the turn). The raw chat vector otherwise detunes them and breaks this template logic, causing the model to loop and never terminate. Pinning them restores reliable termination while preserving the Kazakh knowledge acquired during continued pretraining.

2. Vision re-integration, restoring multimodality

Because our continued pretraining was performed on text only, with the vision branch removed beforehand, the chat-vector merge operates on the language model and produces a text-only model. To restore image and video understanding, the vision encoder and multimodal projector from the official Qwen/Qwen3.5-35B-A3B are re-attached to this Kazakh-adapted, instruct-aligned language backbone, and the architecture is set back to Qwen3_5MoeForConditionalGeneration. The result is a multimodal model that largely preserves the official model's vision capabilities while its language model handles Kazakh (and English) with instruct-style alignment and correct <think>...</think> reasoning.

Evaluation

We evaluate Qwen3.5-35B-A3B-Kazakh against its base model Qwen3.5-35B-A3B on Kazakh and English benchmarks under identical settings (thinking mode enabled):

  • temperature = 1.0
  • top_p = 0.95
  • top_k = 20
  • presence_penalty = 1.5
  • max_tokens = 81920

Scores are accuracy (%).

Kazakh

The Kazakh benchmarks (most of which are available in the ISSAI Qolda suite: language, vision) use Kazakh questions and answer choices. KazMMLU and KazCulture are native Kazakh benchmarks; the rest are Kazakh adaptations of the standard benchmarks.

English

Model usage

The following package versions are used:

  • transformers>=5.12.1
  • a recent torch build (matching your CUDA)
  • vllm>=0.24.0 (for serving)
  • optional: flash-linear-attention and causal-conv1d for faster linear-attention inference

The model reasons by default, emitting a chain-of-thought inside <think> ... </think>.

Transformers

from transformers import AutoProcessor, AutoModelForMultimodalLM

model_id = "issai/Qwen3.5-35B-A3B-Kazakh"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(model_id, dtype="auto", device_map="auto")

messages = [
    {"role": "user", "content": [{"type": "text", "text": "Балқаш көлінің қандай ерекшелігі бар?"}]}
]

inputs = processor.apply_chat_template(
    messages, add_generation_prompt=True, tokenize=True,
    return_dict=True, return_tensors="pt",
).to(model.device)

outputs = model.generate(
    **inputs, max_new_tokens=32768,
    do_sample=True, temperature=1.0, top_p=0.95, top_k=20,
)

print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

Image input:

messages = [
    {"role": "user", "content": [
        {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
        {"type": "text", "text": "Суретте не бейнеленген?"},
    ]}
]

inputs = processor.apply_chat_template(
    messages, add_generation_prompt=True, tokenize=True,
    return_dict=True, return_tensors="pt",
).to(model.device)

outputs = model.generate(
    **inputs, max_new_tokens=32768,
    do_sample=True, temperature=1.0, top_p=0.95, top_k=20,
)

print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

To disable thinking, pass enable_thinking=False to apply_chat_template.

vLLM

Serve an OpenAI-compatible endpoint:

vllm serve issai/Qwen3.5-35B-A3B-Kazakh \
    --served-model-name qwen \
    --reasoning-parser qwen3 \
    --max-model-len 90000 \
    --enable-expert-parallel \
    --max-num-seqs 64
from openai import OpenAI

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

resp = client.chat.completions.create(
    model="qwen",
    messages=[{"role": "user", "content": """Төмендегі экзопланеталардың қайсысында тығыздығы ең жоғары?
a) Жермен бірдей құрамы бар, бірақ Жерден 5 есе ауыр планета.
b) Жермен бірдей құрамды, бірақ Жерден екі есе жеңіл планета.
c) Массасы Жерден 2 есе үлкен және тығыздығы шамамен 5.5 г/см^3 болатын планета.
d) Жердің массасы мен радиусымен тең планета."""}],
    max_tokens=81920, temperature=1.0, top_p=0.95, presence_penalty=1.5,
    extra_body={"top_k": 20},
)

print(resp.choices[0].message.reasoning)          # chain-of-thought
print(resp.choices[0].message.content)            # final answer

Image input:

import base64

image = base64.b64encode(open("image.png", "rb").read()).decode()

resp = client.chat.completions.create(
    model="qwen",
    messages=[{"role": "user", "content": [
        {"type": "image_url", "image_url": {"url": f"data:image/png;base64,{image}"}},
        {"type": "text", "text": "Суретте қандай фигуралар бар?"},
    ]}],
    max_tokens=81920, temperature=1.0, top_p=0.95, presence_penalty=1.5,
    extra_body={"top_k": 20},
)

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

To disable thinking, add "chat_template_kwargs": {"enable_thinking": false} to extra_body.

License

This model is released under the Apache 2.0 license, inherited from the original Qwen3.5 model.

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

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

GPU в ailist

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

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

Модель не помещается в память одной GPU (80 ГБ).

Класс архитектуры
Qwen3_5MoeForConditionalGeneration
Ревизия весов
633e16b

0 моделей