/ Модель

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

Контекст
262 144 токена
Параметры
2,9 млрд
Размер весов
90,3 ГБ
Лицензия
Apache 2.0
Архитектура
qwen4_exp_text · MoE
Базовая модель
Whittle-Qwen-3.8-35B-A3B
Библиотека
transformers
Опубликована
5 окт 2026

Whittle-Qwen-3.8-45B-A3B

Генерация текстаТекст → текст15 профессий
592скачиваний за 30 дней13лайковвеса обновлены28 окт 2026

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

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

Производная модели logic65/Whittle-Qwen-3.8-45B-A3B. MoE-языковая модель Whittle на базе Qwen для диалогов, рассуждений, программирования, математики и вызова инструментов.

Карточка модели whittleOrg/Whittle-Qwen-3.8-45B-A3B на Hugging Face совпадает с карточкой logic65/Whittle-Qwen-3.8-45B-A3B, поэтому описание составлено по ней.

Whittle-Qwen-3.8-45B-A3B — языковая модель семейства Qwen, собранная и доработанная разработчиком Whittle. В README указаны 45,1 млрд параметров в общей сложности: 35,1 млрд в основной модели и 10 млрд в n-граммной памяти; активно используется около 3 млрд параметров. Архитектура — MoE с 256 маршрутизируемыми экспертами, из которых активируются 8 вместе с общим экспертом. Модель предназначена для диалогов, рассуждений, программирования, математики, работы с фактами и вызова инструментов; заявлен контекст 262 144 токена. README описывает поддержку уровней reasoning effort и приводит результаты собственных тестов на коде, математике и вопросах о фактах.

Модель получена восстановлением удалённых экспертов из Qwen3.6-35B-A3B и последующим дистилляционным дообучением с помощью LoRA и других адаптеров; README называет учителя Qwen3.8-27B. Метаданные указывают Apache-2.0. Для загрузки через Transformers требуется версия не ниже 5.18 и специальный загрузчик из репозитория: обычная загрузка может инициализировать таблицу n-грамм случайно. Полные веса и таблица занимают около 90 ГБ; для ускорения gated-DeltaNet в Transformers рекомендуется flash-linear-attention. Модель принимает текст и выдаёт текст.

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

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

Ограничения

Обычная загрузка через from_pretrained может неправильно инициализировать n-граммную таблицу; используйте специальный загрузчик из репозитория. Для размещения весов и таблицы требуется около 90 ГБ памяти, а без flash-linear-attention генерация в Transformers работает медленнее.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Whittle-Qwen-3.8-45B-A3B

☕ Support this work

Whittle is built by one person on a grocery budget and rented GPU hours. If this research is useful to you, or you want to see it finished: ko-fi.com/davida81328. Every hour of GPU time goes straight into the next checkpoint, and every checkpoint, table and log lands in these repos.

The bf16 safetensors of Whittle-Qwen-3.8-45B-A3B: the Whittle flagship 35B with the 76 experts per layer that its expert prune removed put back from Qwen3.6-35B-A3B, healed into the body on 28 Oct 2026 (see Status). 45.1 B total (35.1 B body + 10.0 B n-gram memory), ~3 B active (8 of 256 routed experts + the shared expert), Qwen3.8-Flash-Next (qwen4_exp) format. For llama.cpp use the GGUF repo: it is much faster locally, and every measurement below was taken on it. Try it in the browser: Whittle 45B demo (ZeroGPU).

Status

Healed (28 Oct 2026). The restored experts are now healed into this body, and the model follows Qwen3.8's reasoning-effort levels. The 5 Oct splice stays available at revision b2aee6d08f73.

Q4_K_M, stock llama.cpp (--jinja), card sampler, thinking on, same machine and buildhealed (28 Oct)splice (5 Oct)
PopQA exact match (288)77/28854/288
long-tail names, PopQA completion (252)115/252112/252
40 plain facts37/4037/40
stop/loop battery, clean (24)24/2423/24
GSM-50 (3,072-token cap)40/5044/50
MATH-60 (6,144-token cap)42/60 (8 at the cap)40/60 (9 at the cap)
strict JSON, 72 items: valid / exact72 / 6972 / 71
tool-use probes (96)96/9696/96
llama.cpp web page, chat replay A / B (20 each)18/20 / 17/20 (1 invented tool call)19/20 / 13/20 (none)
llama.cpp web page: 36 held-out chats finished33/3633/36
bf16, transformers, paired on the same itemshealedsplice (5 Oct)
HumanEval (164, executed), thinking off, greedy133123
GSM8K test (400), thinking off, greedy373367
PopQA cloze, the battery's own Q/A prompts (328)108 (p = 0.02)98

Healed vs splice on the battery: share of items correct, paired on the same items

Reasoning effort (new). The chat template now follows Qwen3.8's: with thinking on it adds a reasoning-effort system instruction, xhigh by default, low for brief thinking, medium for none. Pass reasoning_effort in chat_template_kwargs (llama-server --jinja) or to apply_chat_template. Whittle's earlier training rendered its teacher data without that instruction, so the model never learned the levels; the heal teaches them. Measured on GSM8K (200, bf16): low uses about 18 % fewer tokens than xhigh at the same accuracy (95.5 % vs 94.5 %).

Load it with transformers

Stock transformers (>= 5.18) has the architecture, but plain from_pretrained would run this checkpoint with a random n-gram table: Whittle's table uses 8 hash heads of exactly 4,880,000 rows (the geometry its GGUFs give llama.cpp), where the stock code sizes heads as primes, and it is stored under a different key prefix. whittle_load.py in this repo sizes the table from the checkpoint's own hash buffers, maps the keys onto the stock layout and checks the buffers after loading. On a small random model saved in this layout it reproduces the original's logits exactly.

import importlib.util, torch
from huggingface_hub import hf_hub_download
from transformers import AutoTokenizer

repo = "logic65/Whittle-Qwen-3.8-45B-A3B"
spec = importlib.util.spec_from_file_location("whittle_load", hf_hub_download(repo, "whittle_load.py"))
whittle_load = importlib.util.module_from_spec(spec); spec.loader.exec_module(whittle_load)

model = whittle_load.load_whittle(repo, dtype=torch.bfloat16, device_map="auto")   # the ~20 GB table stays in CPU memory
tokenizer = AutoTokenizer.from_pretrained(repo)
messages = [{"role": "user", "content": "Explain hash collisions in two sentences."}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_dict=True, return_tensors="pt",
                                       enable_thinking=False).to(model.device)
out = model.generate(**inputs, max_new_tokens=256, do_sample=True, temperature=0.7, top_p=0.8, top_k=20, repetition_penalty=1.05)
print(tokenizer.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
  • Memory: about 70 GB of weights plus the 20 GB table. device_map="auto" fills the GPU first, so on a card with room for all 90 GB (96 GB class) the table lands in VRAM and batched generation runs short of memory; move ngram_embedding to the CPU after loading, or cap max_memory.
  • Install flash-linear-attention for the gated-DeltaNet layers; without it transformers falls back to a much slower reference path.
  • Sampler as the GGUF card: temperature 0.7, top_p 0.8, top_k 20, repetition penalty 1.05; do not decode greedily. Thinking: enable_thinking=True in the chat template, with 4k+ new tokens for code and 8k+ for maths.

Measured

Before the heal (the 5 Oct splice), on the GGUF Q4_K_M, same harness as the 35B and Qwen3.6-35B-A3B (full table and method on the GGUF card): HumanEval / HumanEval+ 75.6 / 72.6, MBPP / MBPP+ 77.8 / 65.9, tool-use probes 96/96 (long-context 24/24), MATH-60 44/60, long-tail names 111/252 (35B: 94), GSM-50 38/50 (35B: 44 - a real drop, 6 lost and none gained on the same problems).

How it was made

The same recipe as the GGUF, on the original tensors: the 35B root's safetensors (Phase-2 step 32010) with, in every layer, Qwen3.6-35B-A3B's bf16 weights of the 76 pruned experts appended as experts 180-255 (sorted original order; keep-lists in eval/prune_report.json) and their router rows appended, scaled per layer by the median norm ratio of the trained to the original kept rows (1.001-1.026, median 1.009). The kept experts still sit at cosine 0.982-0.997 to their Qwen3.6 originals (gate, up and down projections, checked at layers 0, 10, 20, 30 and 39) and the trained router rows at 0.978-0.995, so the restored experts meet a body close to the one they were trained for. num_experts 180 -> 256; nothing else changed in the splice. The 35B root files also hold 80 stale duplicate copies of router-type tensors that the index does not reference; transformers loads the indexed copies (checked).

Heal (28 Oct 2026). Distilled from Qwen3.8-27B, Whittle's own teacher, through a rank-16 LoRA on experts 180-255, a delta on their router rows and rank-8 adapters on the attention / SSM output and shared-expert down projections, all merged into these weights. Data: 3,049 rows of whittle-distill-qwen3.8-27b re-rendered with the reasoning-effort instruction the teacher actually saw (top-20 logprobs, exact), 1,181 new low-effort teacher answers (top-32), 2,774 teacher answers to GSM8K-train / MetaMathQA / MBPP / CodeAlpaca / NQ-open / UltraChat prompts, and 3,000 raw-text rows (wiki passages, Q/A lines, document openings) anchored to the splice itself so its long-tail knowledge and inline answers stay. 411 steps, 48 minutes on one RTX PRO 6000. A first attempt without the short raw anchors lost PopQA exact match (54 to 38) and was not released. Scripts, the adapter state and per-item results are in heal/.

Provenance

David Aylward (logic65) & Claude (Anthropic). Built from logic65/Whittle-Qwen-3.8-35B-A3B (teacher Qwen/Qwen3.8-27B, memory contents from Qwen/Qwen3.8-Flash-Next) and the routed experts of Qwen/Qwen3.6-35B-A3B; heal teacher Qwen/Qwen3.8-27B. All Apache-2.0.

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

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

GPU в ailist

vLLM

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

Подбираем GPU…

Класс архитектуры
Qwen4ExpForCausalLM
Ревизия весов
696ba21

0 моделей