/ Модель

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

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

Qwen3.8-35B-A3B

Генерация текстаТекст → текст
418скачиваний за 30 дней1лайквеса обновлены1 дек 2026

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

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

Сообщественная MoE-модель на базе Qwen3.6-35B-A3B, дообученная для генерации решений задач по программированию и соревновательному коду.

Qwen3.8-35B-A3B — созданная сообществом модель EdwinS9 на базе Qwen/Qwen3.6-35B-A3B, дообученная для программирования. Это разреженная модель семейства Qwen3.5 MoE с 35 млрд параметров и примерно 3 млрд активных параметров на токен; веса в этом репозитории представлены в формате BF16 Safetensors. Дообучение LoRA на ответах учительской модели Qwen3.8-27B охватывало задачи LeetCode и Codeforces; адаптер объединён с базовыми весами.

Модель предназначена прежде всего для генерации решений задач на Python и соревновательное программирование. В описанном тесте из 317 задач она решила 54,9% против 22,1% у базовой модели, но уступила Qwen3.8-27B, набравшей 68,8%. Автор сообщает, что AWQ-версия при тестировании генерировала в 2,9 раза быстрее Qwen3.8-27B в заданной конфигурации; эти показатели относятся к AWQ, а не к BF16-весам данного репозитория.

Модель сохраняет мультимодальную архитектуру базовой модели, однако дообучение касалось программирования, а зрительная часть не оценивалась после обучения. Обучение и оценка не охватывали агентное, многофайловое и репозиторное программирование; на сложных задачах модель заметно уступает Qwen3.8-27B. Проект не является официальным релизом Qwen. Лицензия — Apache-2.0.

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

  • написание решений задач LeetCode на Python
  • решение задач Codeforces
  • генерация функций для алгоритмических задач
  • объяснение и доработка решения задачи по программированию

Ограничения

Обучение было сосредоточено на задачах соревновательного программирования и функциях на Python; агентное, многофайловое и репозиторное программирование не оценивалось. На сложных задачах модель уступает Qwen3.8-27B, а зрительная часть базовой модели после дообучения не проверялась.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.8-35B-A3B

Pass rate on 317 test problems: Qwen3.6-35B-A3B 22.1%, Qwen3.8-35B-A3B 54.9%, Qwen3.8-27B 68.8%. Generation speed, both 4-bit: Qwen3.8-35B-A3B 2.9x Qwen3.8-27B.

2.9x the generation speed of Qwen3.8-27B (both at 4-bit, one request at a time) with about 80% of its coding score. It is Qwen3.6-35B-A3B, with about 3B active parameters per token, fine-tuned on coding answers from Qwen3.8-27B. On the test set it scores 54.9%, against 68.8% for Qwen3.8-27B and 22.1% for the base model.

This is a community fine-tune, not an official Qwen release.

Results

Test set: 317 LeetCode problems (168 released between August 2024 and March 2025, plus 149 older problems), none used in training or for choosing between training runs. Same settings for every model: thinking on, temperature 1.0, top_p 0.95, top_k 20, min_p 0, 16k-token budget, 2 samples per problem, solutions checked against the problems' unit tests.

Qwen3.6-35B-A3B (base)Qwen3.8-35B-A3BQwen3.8-27B
Pass rate (317 problems)22.1%54.9%68.8%
Easy / Medium / Hard (71 / 154 / 92)64.8% / 14.6% / 1.6%86.6% / 57.8% / 25.5%93.0% / 75.0% / 39.7%
Answers that hit the 16k budget76.3%25.4%15.3%
Correct when the answer finished93.3%73.6%81.2%
Active parameters per tokenabout 3Babout 3B27B

Paired by problem: +32.8 points over the base model (95% interval +28.4 to +37.2) and -13.9 points against Qwen3.8-27B (-17.8 to -10.1).

Development sets (also used to choose between training runs, so these numbers are optimistic):

baseQwen3.8-35B-A3BQwen3.8-27B
LeetCode Medium/Hard (167 problems)19.8%65.3%71.0%
Codeforces (163 problems)19.0%52.8%58.9%*
Non-coding check (maths, instruction following, knowledge; 600 items)89.0%88.2%92.2%

*One sample per problem for Qwen3.8-27B on Codeforces.

All scores in this card were measured with vLLM on the AWQ version (routed experts at 4-bit, all other weights at 16-bit). The bf16 weights in this repository were not run directly; they differ from the AWQ version only in the routed experts, which are the unmodified bf16 weights of the base model.

Files and speed

RepositoryFormatNotes
EdwinS9/Qwen3.8-35B-A3Bbf16 safetensorsthis repository
EdwinS9/Qwen3.8-35B-A3B-AWQAWQ 4-bit (vLLM, SGLang)the exact setup the scores were measured on; experts quantized by QuantTrio
EdwinS9/Qwen3.8-35B-A3B-GGUFGGUF Q4_K_M, Q8_0llama.cpp, Ollama, LM Studio

The GGUF files were not evaluated separately; all scores above come from the AWQ version.

Speed (vLLM, one request at a time, same GPU, both models with 4-bit weights: this model's AWQ version and cyankiwi/Qwen3.8-27B-AWQ-INT4): generation 2.9x and prompt processing 6.2x that of Qwen3.8-27B.

Use

Same architecture and chat template as Qwen/Qwen3.6-35B-A3B; any runtime that supports that model supports this one.

Recommended settings (the ones measured above): thinking on, temperature 1.0, top_p 0.95, top_k 20, min_p 0, presence_penalty 0, and room for at least 16k new tokens.

vLLM:

vllm serve EdwinS9/Qwen3.8-35B-A3B-AWQ --max-model-len 32768 --reasoning-parser qwen3

llama.cpp:

llama-server -hf EdwinS9/Qwen3.8-35B-A3B-GGUF:Q4_K_M --jinja -c 32768 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0

Ollama (recent version): a plain ollama run hf.co/... does not set the chat template for this model, so create it from a Modelfile that uses Ollama's Qwen 3.5-family renderer and parser:

ollama pull hf.co/EdwinS9/Qwen3.8-35B-A3B-GGUF:Q4_K_M

Modelfile:

FROM hf.co/EdwinS9/Qwen3.8-35B-A3B-GGUF:Q4_K_M
RENDERER qwen3.5
PARSER qwen3.5
PARAMETER temperature 1.0
PARAMETER top_p 0.95
PARAMETER top_k 20
PARAMETER num_ctx 32768
ollama create qwen3.8-35b-a3b -f Modelfile
ollama run qwen3.8-35b-a3b

LM Studio: search for EdwinS9/Qwen3.8-35B-A3B-GGUF and download Q4_K_M.

How it was made

  • Teacher: Qwen3.8-27B (FP8), reasoning effort medium. 3,031 answers to LeetCode-style and Codeforces problems (12.7M tokens), kept only if they finished on their own and passed every unit test. Problems from newfacade/LeetCodeDataset (Apache-2.0) and open-r1/codeforces (CC-BY-4.0); every answer was written by Qwen3.8-27B.
  • Loss: half cross-entropy on the teacher's tokens, half matching the teacher's top-20 token distribution at every position (both models share a tokenizer).
  • LoRA rank 16 on attention, linear attention and the shared expert (19.2M parameters). Routed experts and routers frozen. One epoch. Merged into the bf16 weights; only the 250 trained matrices differ from the base model.
  • Test-set problems were kept out of training by problem id; LeetCode problems were deduplicated against the test set by 8-gram overlap. The problems are public, so exposure during pretraining cannot be ruled out for any of the three models.

Limitations

  • Trained on Python function-level and competitive programming problems only. Agentic, multi-file and repository-level coding were not trained or measured.
  • Well behind Qwen3.8-27B on hard problems (25.5% vs 39.7% on the test set) and still runs out of budget more often (25% vs 15% of answers).
  • Maths: 11 points behind Qwen3.8-27B on the non-coding check (84.0% vs 95.0%).
  • The vision tower is unchanged from the base model and was not evaluated after training.
  • One training run (one seed).

Licence and credits

Apache-2.0, as both Qwen models. Built on Qwen/Qwen3.6-35B-A3B with Qwen/Qwen3.8-27B as teacher; all credit for the base capabilities goes to the Qwen team. The AWQ version uses QuantTrio's AWQ quantization of the base model's experts (Apache-2.0). Training problems come from newfacade/LeetCodeDataset (Apache-2.0) and open-r1/codeforces (CC-BY-4.0). The training data is not released.

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

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

GPU в ailist

vLLM

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

Подбираем GPU…

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

0 моделей