/ Модель

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

Контекст
262 144 токена
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
Qwen3.5-9B-DeepThought-STEM
Библиотека
transformers
Опубликована
17 ноя 2026

Qwen3.5-9B-DeepThought-STEM-Weight-Space-Programming

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

Производная Qwen3.5-9B с WSP-программированием весов для рассуждений, математики, STEM-задач и работы с инструментами.

2 201скачиваний за 30 дней1лайквеса обновлены20 ноя 2026

Бенчмарки

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

Тесты пользователейпока нет

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

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

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

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

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

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

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

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

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

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

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

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

jstarks представляет Qwen3.5-9B-DeepThought-STEM-Weight-Space-Programming — производную диалоговой модели Qwen3.5 с 9 млрд параметров для STEM-задач, полученную программированием весового пространства (WSP V5) исходной модели xtools-at/Qwen3.5-9B-DeepThought-STEM. Метод обучения не применялся: README описывает закрытоформное двухфазное преобразование весов в 13 подпространствах и поставляемые динамические LoRA-адаптеры. Доступны конфигурации GGUF Q6_K и Q4_K_M, а также файлы safetensors; заявлен интерфейс для чата и вызова инструментов.

Модель предназначена для генерации ответов с рассуждениями, решения математических и других STEM-задач, а также сценариев с агентами и терминальными инструментами. В README приведены результаты оценки на 270 задачах, включая MATH-500, MMLU-Pro, агентные и терминальные тесты; это результаты авторской оценки, а не гарантия качества на иных запросах. Метаданные указывают Apache-2.0. Карточка не сообщает длину контекста и список поддерживаемых естественных языков.

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

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

Ограничения

Указанные показатели основаны на авторских локальных тестах и могут не переноситься на другие задачи. В README не приводятся длина контекста и результаты по широкому набору языков.

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.5-9B-DeepThought-STEM-Weight-Space-Programming (13-Subspace WSP V5 Two-Phase · Preferred Models: Q6_K & Q4_K_M)

Training-free, closed-form 13-Subspace Two-Phase Reasoning-Boundary Weight-Space Programming (WSP V5) applied to xtools-at/Qwen3.5-9B-DeepThought-STEM, evaluated end-to-end across 270 local benchmark tasks (agent100 + stem150 + live WSL2 tbench20) on both Q4_K_M and Q6_K.

[!NOTE]

Upstream Model Credits & Provenance

  • Original Base Fine-Tuned Model (xtools-at): xtools-at/Qwen3.5-9B-DeepThought-STEM (apache-2.0, 32 layers = 24 Gated DeltaNet + 8 full attention, hidden_size=4096, intermediate_size=12288, built by xtools-at on xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic / Qwen/Qwen3.5-9B and high-reasoning / RED-PILL drug-discovery / STEM traces). All 32 exact BF16 layers (lm_head, RMSNorms, MLP projections, tokenizer, config) used for forward-hook receptor capture were streamed directly from xtools-at/Qwen3.5-9B-DeepThought-STEM.
  • GGUF Base Quantizations (mradermacher): mradermacher/Qwen3.5-9B-DeepThought-STEM-GGUF — exact source of both Qwen3.5-9B-DeepThought-STEM.Q6_K.gguf (7.040 GiB / 7,558,905,952 bytes) and Qwen3.5-9B-DeepThought-STEM.Q4_K_M.gguf (5.383 GiB / 5,780,095,072 bytes), hosted alongside the 13 dynamic LoRA adapters (63.0 MiB total) for one-command execution via run_wsp.py.

Preferred Models (Recommended — Supersedes V1–V4)

[!IMPORTANT] Use these two WSP V5 Two-Phase configurations (Q6_K and Q4_K_M) as the preferred / recommended models in this repository. Both ship with the 13 runtime Two-Phase adapters and supersede all earlier V1–V4 iterations:

  • Preferred Overall / Agent / Terminal-Bench: Q6_K + WSP V5 (7.04 GiB) reaches 178/270 (65.9%, +17.0 pp / +46 tasks vs Base) (89/100 agent, 84/150 STEM cut=1, 5/20 tbench20 zcmd=0, including first-ever solve of grid-pattern-transform).
  • Preferred Fast / Low-VRAM / Peak STEM: Q4_K_M + WSP V5 (5.38 GiB) reaches 176/270 (65.2%, +15.6 pp / +42 tasks vs Base) (86/150 STEM cut=5 with 20/50 MATH-500 & 26/50 MMLU-Pro, 86/100 agent with 29/30 holdout, 4/20 tbench20 zcmd=0).
Preferred TierBase GGUF + Runtime AdaptersSize270-Task TotalKey StrengthsLaunch Command
Preferred Overall / Agent / TBQwen3.5-9B-DeepThought-STEM.Q6_K.gguf + 13 WSP V5 LoRAs7.04 GiB178/270 (65.9%)89/100 agent (19/20 NL2Bash, 17/20 GSM8K, 0 leaks), 5/20 tbench20, 84/150 STEM (cut=1)python run_wsp.py --quant q6_k --chat
Preferred Fast / Low-VRAM / STEMQwen3.5-9B-DeepThought-STEM.Q4_K_M.gguf + 13 WSP V5 LoRAs5.38 GiB176/270 (65.2%)86/150 STEM (20/50 MATH-500, 26/50 MMLU-Pro), 29/30 Holdout (96.7%), 4/20 tbench20 (hard=1/1)python run_wsp.py --chat

1. Mechanistic Diagnosis & V5 Two-Phase Architecture

WSP V5 upgrades V4 across three orthogonal architectural improvements without modifying any model weights via gradient descent:

  1. Two-Phase Reasoning-Boundary Dynamic WSP (deepthought_router.py, run_wsp.py):
    • Phase 1 (<think>...</think>): Runs ONLY <think>-control subspaces (S1, S12) via llama-server /completion with stop=["</think>", "<|im_end|>"] (never artificially capping Phase-1 tokens).
    • Phase 2 (post-</think>): The instant the model emits </think>, the router switches /lora-adapters (~2 ms) to S1 = 0.0, S12 = 0.0 and activates ONLY the task-specific Phase-2 subspace(s) (S2..S11, S13). This physically eliminates post-</think> </think> re-injection loops (MATH-500 no_box 28 → 18 on Q4, EST_GSM8K gsm8k_2 pred='70</think>' fixed on Q6 with 0 leaks).
  2. V5.1 Hybrid 32-Layer BF16 Subspace Synthesis (build_deepthought_wsp.py):
    • Eliminated three self-cancellation collisions discovered in V4/V5: (a) separated S10 into 100% pure Phase-2 terminal action (orth_away(u_think_end), heredoc_null_leak = +0.00/+0.00, cross = 1.378%, L31 net = +7.94), removing its collision with S1 (active-peer cross = 0.570%, ||dW||_F = 5.124, L31 net = +9.62); (b) removed tb_heredoc_null self-cancellation from S11 (||dW||_F = 1.965, cross = 0.096%); (c) combined V4's proven S12 STEM split (L31 net = +18.49, stem_early_null_leak = +0.00, active-peer cross = 0.382%) with V5's clean post-</think> S13 (d_boxed = +4.50, d_im_end = +2.49, d_think_end = -5.10, think_null_leak = +0.00/+0.00) and V5's adversarial BFCL irrelevance S2 (onp_irrel_net = +12.07, 0/20 false tool calls on disjoint traps).
  3. Stateful Terminal-Bench Routing (last_tool_recov_err + csv_or_etl isolation):
    • Fixed multi-turn error masking (last_tool_recov_err inspects ONLY the latest [exit_code=...] tool message rather than all joined turns), fixed C++ template > redirection false-positives in _inspect_terminal_history, kept long_or_complex p1[0]=1.65 / 1.25 to eliminate every 0-command <think> wall across both quantizations (zcmd = 0 on both Q4 and Q6), and isolated csv_or_etl from term_t2_force_mutate.

(Receptor capture parity check on captured_deepthought_32layer_bf16_v5.pt (858.5 MB) & v4.pt (523.1 MB): 'Paris': 7.237, 'London': 3.13, 'Berlin': 1.939, 'Wait': -1.888.)


2. Benchmark Summary (Preferred WSP V5 vs Base Across 270 Tasks)

VariantTotal (270 Tasks)Delta vs Quant Baseagent100 (100)stem150 (150, cutoffs)tbench20 (20, E / M / H)Avg Tok (a100 / s150 / tb20)Speed (tok/s)
Base (Q6_K, all scales 0)132/270 (48.9%)—74/100 (Hold 26/30, Est 48/70)54/150 (cut=85)4/20 (3/10 · 1/9 · 0/1)448.4 / 907.8 / 588.557.8 / 61.5 / 55.9
WSP V5 (Q6_K, 13S Two-Phase — Preferred Overall / Agent / TB)178/270 (65.9%)+17.0 pp (+46)89/100 (Hold 27/30, Est 62/70)84/150 (cut=1)5/20 (4/10 · 1/9 · 0/1)351.6 / 726.1 / 680.955.1 / 60.1 / 46.2
Base (Q4_K_M, all scales 0)134/270 (49.6%)—73/100 (Hold 27/30, Est 46/70)57/150 (cut=83)4/20 (3/10 · 0/9 · 1/1)435.5 / 890.5 / 708.873.1 / 77.0 / 69.1
WSP V5 (Q4_K_M, 13S Two-Phase — Preferred Fast / Low-VRAM / STEM)176/270 (65.2%)+15.6 pp (+42)86/100 (Hold 29/30, Est 57/70)86/150 (cut=5)4/20 (3/10 · 0/9 · 1/1)341.8 / 702.1 / 775.468.4 / 74.8 / 57.7
VariantTotal (270 Tasks)Delta vs Quant Baseagent100 (100)stem150 (150, cutoffs)tbench20 (20, E / M / H)Avg Tok (a100 / s150 / tb20)Speed (tok/s)
WSP V1 (Q4_K_M, 12S initial)162/270 (60.0%)+10.4 pp (+28)83/100 (Hold 26/30, Est 57/70)74/150 (cut=2)5/20 (3/10 · 1/9 · 1/1)377.7 / 647.8 / 621.772.3 / 75.9 / 67.4
WSP V2 (Q4_K_M, 12S rebuilt S12)160/270 (59.3%)+9.6 pp (+26)85/100 (Hold 27/30, Est 58/70)72/150 (cut=30)3/20 (2/10 · 1/9 · 0/1)343.6 / 768.9 / 661.172.3 / 76.7 / 67.0
WSP V3 (Q4_K_M, 12S hybrid)163/270 (60.4%)+10.7 pp (+29)86/100 (Hold 27/30, Est 59/70)73/150 (cut=19)4/20 (3/10 · 1/9 · 0/1)348.9 / 762.5 / 585.572.3 / 76.3 / 67.2
WSP V4 (Q4_K_M, 13S single-pass)164/270 (60.7%)+11.1 pp (+30)86/100 (Hold 27/30, Est 59/70)74/150 (cut=9)4/20 (2/10 · 1/9 · 1/1)376.2 / 748.2 / 671.270.1 / 74.0 / 65.8
WSP V4 (Q6_K, 13S single-pass)168/270 (62.2%)+13.3 pp (+36)85/100 (Hold 28/30, Est 57/70)80/150 (cut=6)3/20 (3/10 · 0/9 · 0/1)390.6 / 753.8 / 716.558.2 / 61.0 / 54.5

agent100 (100 Tasks — 30 Holdout + 70 Established)

SuiteTasksBase Q4WSP V5 Q4 (Preferred Fast/STEM)Base Q6WSP V5 Q6 (Preferred Overall)
S1_THINK (Holdout S1: Think Closure)33/33/31/32/3
S2_RESTRAINT (Holdout S2: Tool Restraint & Anti-Sycophancy)43/44/44/44/4
S3_ROUTER (Holdout S3: Multi-Tool Router)55/54/55/54/5
S4_CODE (Holdout S4: Mid-Band Code Synthesis)21/22/21/21/2
S5_TURN2_JSON (Holdout S5: Turn-2 Structured JSON)33/33/33/33/3
S6_HANDOFF (Holdout S6: Escalation Handoff Gate)43/44/43/44/4
S7_INJ_GUARD (Holdout S7: Indirect Injection Guard)33/33/33/33/3
S8_GROUNDING (Holdout S8: Grounded Abstention)33/33/33/33/3
S9_ERR_RECOV (Holdout S9: Error Self-Recovery)33/33/33/33/3
EST_GSM8K (Established: OpenAI GSM8K (20))206/2014/206/2017/20
EST_HUMANEVAL (Established: HumanEval pass@1 (15))1513/1513/1512/1513/15
EST_BFCL_IRR (Established: BFCL v3 Irrelevance (15))1511/1513/1512/1513/15
EST_NL2BASH (Established: InterCode-NL2Bash (20))2016/2017/2018/2019/20
Total agent10010073/10086/100 (Hold 29/30)74/10089/100 (Est 62/70)

stem150 (150 Tasks — MATH-500 + MMLU-Pro + MMLU-4C)

Sub-benchmarkTasksBase Q4WSP V5 Q4 (Preferred Fast/STEM)Base Q6WSP V5 Q6 (Preferred Overall)
STEM_MATH500 (MATH-500 (Level-5 Competition Math))500/50 (0.0%) (cut=50, 1536.0t)20/50 (40.0%) (cut=0, 1145.5t)0/50 (0.0%) (cut=50, 1536.0t)19/50 (38.0%) (cut=0, 1174.5t)
STEM_MMLU_PRO (MMLU-Pro STEM (10-Choice))5019/50 (38.0%) (cut=24, 739.3t)26/50 (52.0%) (cut=2, 586.9t)16/50 (32.0%) (cut=26, 764.6t)24/50 (48.0%) (cut=1, 640.5t)
STEM_MMLU_4C (MMLU STEM (4-Choice College/Medical))5038/50 (76.0%) (cut=9, 396.3t)40/50 (80.0%) (cut=3, 374.1t)38/50 (76.0%) (cut=9, 422.9t)41/50 (82.0%) (cut=0, 363.4t)
Total stem15015057/150 (38.0%) (cut=83, 890.5t, 77.0 tok/s)86/150 (57.3%) (cut=5, 702.1t, 74.8 tok/s)54/150 (36.0%) (cut=85, 907.8t, 61.5 tok/s)84/150 (56.0%) (cut=1, 726.1t, 60.1 tok/s)

Disjoint Validation Calibration (V5.1/V5.3 Q4_K_M, Zero Test Overlap)

Verified strictly on unseen validation splits (dt_v5_onpolicy_traces.json, 74 traces):

  • CAL_MATH_9 (9 unseen MATH-500 cal, 1536t): Base 1/9 (cut=8) → Single-Pass V5.1 5/9 (cut=0, nobox=4) → Two-Phase V5.1 (s12=1.55, s13=1.20): 6/9 strict / 7/9 math (cut=0, nobox=2, </think>_leak=0, 1083.8t).
  • MMLU-Pro validation (9 conceptual / 12 quantitative): VAL_PRO_QUANT = 8/12 (cut=0, </think>_leak=0, 547.4t, +2 over V4 6/12); VAL_PRO_CONCEPT = 7/9 (nolet=0, </think>_leak=0, 378.2t).
  • Disjoint agent/safety suites: S2_IRREL_ADV_20 = 18/20 (tc_misfire = 0/20) + VALID_MATH_TOOLS_4 = 3/4, NL2BASH_CAL_6 = 6/6 (128–272t), S3_ROUTER_6 = 6/6, S6_HANDOFF_5 = 4/5 + S6_BOUNDED_3 = 3/3, CODE_CAL_6 = 4/6, plus 3/3 fresh web_search tool-calling parity checks (Two-Phase & Single-Pass).

tbench20 (20 Live WSL2 Ubuntu-24.04 Tasks)

  • Base Q6_K → WSP V5 Q6_K (Preferred Overall): 4/20 (20.0%, zcmd=2) → 5/20 (25.0%, +1 vs Base Q6, +2 vs V4 Q6 3/20, zcmd=0, avg_cmds=4.15, 680.9t, 46.2 tok/s) (hello-world, fix-permissions, grid-pattern-transform, csv-to-parquet, heterogeneous-dates)
  • Base Q4_K_M → WSP V5 Q4_K_M (Preferred Fast/STEM): 4/20 (20.0%, zcmd=3) → 4/20 (20.0%, +2 vs Base Q4, zcmd=0, avg_cmds=4.1, hard=1/1, 775.4t, 57.7 tok/s) (recovered fix-permissions, passed hello-world, csv-to-parquet, recover-obfuscated-files, unblocked grid-pattern-transform 0→4c, sanitize-git-repo 0→2c, polyglot-c-py 0→5c)

3. Synthesized Rank-16 f32 Subspaces (S1..S13, V5.1)

All 13 subspaces were solved in 47.91s (step_mult=0.95, lam_null=36.0, min_svd_energy=1.00000) and exported identically to GGUF LoRAs (63.0 MiB total) and PyTorch rank-16 .safetensors (< 5.0e-07 Frobenius difference):

Two-Phase & One-Way S13 Orthogonality Note: S13 (s13_post_concise) enforces peer orthogonality against all other subspaces (max_cross_leakage = 0.232%, think_null_leak = +0.00/+0.00), S10 keeps 1.378% (heredoc_null_leak = +0.00/+0.00), and S2..S9, S11 keep <= 0.233%. S1 and S12 intentionally omit S13's post-</think> manifold from their nullspaces (under Two-Phase WSP, S1/S12 = 0.0 in Phase 2 and S13 = 0.0 in Phase 1); across all active non-S13 peers, S1 = 0.570% and S12 = 0.382%.

SlotGGUF LoRA (llama.cpp)Safetensors (PyTorch)Target Layers||\Delta W||_FCross LeakSyntax LeakRole
id=0adapters/wsp_s1_think.ggufpatches/wsp_s1_think_r16.safetensors (5.00 MiB)[23, 27, 29, 30, 31]5.124431.391%0.431%On-policy CoT marathon braking & clean </think> verification closure
id=1adapters/wsp_s2_restraint.ggufpatches/wsp_s2_restraint_r16.safetensors (5.00 MiB)[23, 27, 29, 30, 31]3.72820.154%0.254%Tool restraint & anti-sycophancy pushback
id=2adapters/wsp_s3_router.ggufpatches/wsp_s3_router_r16.safetensors (5.00 MiB)[23, 27, 29, 30, 31]0.69540.079%0.071%Multi-tool boundary routing (exec, web_search, read_file, write_file)
id=3adapters/wsp_s4_mid_code.ggufpatches/wsp_s4_mid_code_r16.safetensors (4.00 MiB)[7, 11, 15, 19]0.59740.068%0.023%Mid-network algorithmic Python/code synthesis
id=4adapters/wsp_s5_json_schema.ggufpatches/wsp_s5_json_schema_r16.safetensors (5.00 MiB)[23, 27, 29, 30, 31]0.45330.138%0.043%Turn-2 strict JSON synthesis gate with tools attached
id=5adapters/wsp_s6_handoff.ggufpatches/wsp_s6_handoff_r16.safetensors (5.00 MiB)[23, 27, 29, 30, 31]2.71480.139%0.139%Bounded subtask vs. unrecoverable escalate_handoff gate
id=6adapters/wsp_s7_injection_guard.ggufpatches/wsp_s7_injection_guard_r16.safetensors (5.00 MiB)[23, 27, 29, 30, 31]0.54770.149%0.060%Indirect prompt-injection defense inside tool responses
id=7adapters/wsp_s8_grounding.ggufpatches/wsp_s8_grounding_r16.safetensors (5.00 MiB)[23, 27, 29, 30, 31]0.56830.138%0.052%Grounded context fidelity & missing-field abstention
id=8adapters/wsp_s9_error_recovery.ggufpatches/wsp_s9_error_recovery_r16.safetensors (5.00 MiB)[23, 27, 29, 30, 31]0.99620.233%0.064%Recoverable local tool-error self-correction
id=9adapters/wsp_s10_term_action.ggufpatches/wsp_s10_term_action_r16.safetensors (5.00 MiB)[23, 27, 29, 30, 31]2.31481.378%0.191%Pure Phase-2 stateful Terminal-Bench shell action/mutation continuity (heredoc/XML nullspace protected)
id=10adapters/wsp_s11_term_code.ggufpatches/wsp_s11_term_code_r16.safetensors (4.00 MiB)[7, 11, 15, 19]1.96550.096%0.020%Mid-network compound bash & mutation synthesis (XML/heredoc-end nullspace protected)
id=11adapters/wsp_s12_stem_settle.ggufpatches/wsp_s12_stem_settle_r16.safetensors (5.00 MiB)[23, 27, 29, 30, 31]6.768142.981%0.213%Phase-1 on-policy STEM/competition-math anti-loop </think> settle (zeroed in Phase 2)
id=12adapters/wsp_s13_post_concise.ggufpatches/wsp_s13_post_concise_r16.safetensors (5.00 MiB)[23, 27, 29, 30, 31]6.43960.232%0.297%Phase-2 post-</think> concise termination pushing \boxed{ / `<

4. Repository Contents (Cleaned V5 Bundle)

LocationContentsPurpose
RootQwen3.5-9B-DeepThought-STEM.Q6_K.gguf (7.040 GiB), Qwen3.5-9B-DeepThought-STEM.Q4_K_M.gguf (5.383 GiB), run_wsp.py, requirements.txt, README.md, 4 tokenizer/config files (tokenizer.json, tokenizer_config.json, chat_template.jinja, config.json)Preferred GGUF quantizations, single-file launcher/proxy, and minimal Jinja tokenizer bundle required for Two-Phase routing
adapters/ (16 files)13 V5 rank-16 GGUF LoRAs (wsp_s1..s13.gguf, 63.0 MiB) + manifest.json, router_prototypes.json, tbench_subspaces_manifest.jsonRuntime dynamic llama-server LoRA slots and routing manifests
patches/ (14 files)13 equivalent PyTorch rank-16 .safetensors (< 5.0e-07 parity) + patch_export_summary.jsonDirect BF16 transformers patching via scripts/apply_patch_12s.py
scripts/ (14 files)Two-Phase runtime (deepthought_router.py, dynamic_router_9s.py), apply_patch_12s.py, build_deepthought_wsp.py, trace capture, export, and evaluation scriptsFull runtime routing and end-to-end synthesis/evaluation reproducibility
benchmarks/ (11 files)deepthought_results.json, stem_bench_cache.json, trace caches (dt*_traces.json), and Base + WSP V5 logs (dt_base_*.log, dt_synth_v5_1.log, dt_wsp_eval_v5_*.log)Complete structured results, Base vs V5 logs, and receptor capture caches

5. Quickstart (run_wsp.py / llama-server / PyTorch)

Option A: One-Command Dynamic 13-Subspace Two-Phase Proxy or CLI Chat

pip install huggingface_hub transformers
hf download jstarks/Qwen3.5-9B-DeepThought-STEM-Weight-Space-Programming run_wsp.py --local-dir ./deepthought-wsp
python ./deepthought-wsp/run_wsp.py --quant q6_k --chat   # Preferred Overall / Agent / TB (7.04 GiB, 178/270)
python ./deepthought-wsp/run_wsp.py --chat                # Preferred Fast / Low-VRAM / STEM (5.38 GiB, 176/270)

Omit --chat to expose an OpenAI-compatible dynamic Two-Phase routing proxy on http://127.0.0.1:8090/v1 (X-WSP-Version: DeepThought-WSP-V5-13S), or pass --prompt "..." (--no-phase-split runs single-pass ablation; --include-bf16 also fetches patches/*.safetensors).

Option B: Direct llama-server + scripts/deepthought_router.py

llama-server -m Qwen3.5-9B-DeepThought-STEM.Q6_K.gguf --host 127.0.0.1 --port 8135 \
  -ngl 99 -np 1 -c 16384 -ctk q8_0 -ctv q8_0 -b 512 -ub 256 \
  --jinja --reasoning-format deepseek --lora-init-without-apply \
  --lora adapters/wsp_s1_think.gguf,adapters/wsp_s2_restraint.gguf,adapters/wsp_s3_router.gguf,adapters/wsp_s4_mid_code.gguf,adapters/wsp_s5_json_schema.gguf,adapters/wsp_s6_handoff.gguf,adapters/wsp_s7_injection_guard.gguf,adapters/wsp_s8_grounding.gguf,adapters/wsp_s9_error_recovery.gguf,adapters/wsp_s10_term_action.gguf,adapters/wsp_s11_term_code.gguf,adapters/wsp_s12_stem_settle.gguf,adapters/wsp_s13_post_concise.gguf

Option C: In-Memory PyTorch / transformers Patching (scripts/apply_patch_12s.py)

import torch
from transformers import AutoModelForCausalLM
from scripts.apply_patch_12s import REGIME_PRESETS, apply_subspace_scales_to_hf_model

model = AutoModelForCausalLM.from_pretrained(
    "xtools-at/Qwen3.5-9B-DeepThought-STEM",
    torch_dtype=torch.bfloat16,
)
apply_subspace_scales_to_hf_model(model, "patches", REGIME_PRESETS["stem_deep_settle"])

6. Honest Limitations & Future Work

  • Terminal-Bench (5/20 Q6_K, 4/20 Q4_K_M): V5 eliminated every 0-command <think> timeout across both quantizations (zcmd=0), lifted Q6_K from 3/20 → 5/20 (solving grid-pattern-transform for the first time), and recovered fix-permissions on Q4_K_M. However, heterogeneous-dates still failed on Q4_K_M (while passing on Q6_K), and remaining failures on multi-turn reverse-engineering/CLI tasks (processing-pipeline, cpp-compatibility, decommissioning-service-with-sensitive-data, polyglot-c-py) reflect multi-step domain knowledge and 5-turn strategy limits beyond rank-16 steering.
  • Q4_K_M EST_GSM8K (14/20 vs Q6_K 17/20) & S3_ROUTER (4/5): On Q4_K_M, 5 EST_GSM8K problems still hit the 1024t budget in general_fast_think (whereas Q6_K reached 17/20 with 0 </think> leaks). On S3_ROUTER, s3_h3_web_search (asking about the 2026 Winter Olympics) answered in prose without a tool call under Phase-1 S3=0.0, while CAL_S3_ROUTER scored 6/6 and 3/3 fresh 2026/current-version web_search probes emitted exact web_search tool calls in both Two-Phase and Single-Pass modes.
  • Remaining MATH-500 no_box (18 on Q4_K_M, 25 on Q6_K): Two-Phase WSP cut Q4_K_M no_box from 28 → 18 (13 → 20/50) and eliminated </think> re-injection completely, though hard Level-5 problems can still fill 1536 tokens before boxing a final expression.

Citation / Acknowledgments

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей