/ Модель

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

Контекст
262 144 токена
Параметры
581 млн
Лицензия
Apache 2.0
Архитектура
qwen3_5_text · dense
Базовая модель
Qwen3.5-0.8B
Библиотека
transformers
Опубликована
7 ноя 2026

Qwen3.5-0.8B-WSP-repro

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

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

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

Исследовательский патч Qwen3.5-0.8B, снижающий циклические повторы при решении математических задач в режиме рассуждений.

Qwen3.5-0.8B-WSP-repro — исследовательская репродукция метода коррекции весов для Qwen3.5-0.8B, созданная независимым автором. Она предназначена для уменьшения циклических повторов при решении математических задач в режиме рассуждений. Патч затрагивает 131 072 веса (около 0,016% модели) в MLP-слоях 15 и 19; градиентное обучение не применялось. Модель имеет плотную архитектуру Qwen3.5, содержит 581,4 млн параметров, принимает текст и поддерживает контекст до 262 144 токенов.

В парных прогонах на 24 задачах GSM8K и MATH-500 патч устранил зацикливание у некоторых примеров и повысил точность с 1/24 до 2/24 при лимите 32 768 токенов. Результат существенно скромнее опубликованного ориентира исходной работы; общие возможности за пределами небольшого набора задач не проверялись. Для экспериментов использовались жадное декодирование и одна GPU T4, поэтому результаты ограничены этими условиями. Весовая копия распространяется в формате safetensors по лицензии Apache-2.0; базовая модель также указана под Apache-2.0.

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

  • сравнение методов коррекции зацикливания в LLM
  • эксперименты с weight-space programming
  • проверка генерации решений GSM8K
  • исследование циклических повторов в решениях MATH-500

Ограничения

В оценке использованы только 24 задачи, один seed, жадное декодирование и одна GPU; общие способности модели не проверялись. Улучшение точности было небольшим, а патч устраняет не все случаи зацикливания.

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

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

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

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

Источники: 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.5-0.8B-WSP-repro (data-driven direction patch, Astra-style)

Independent, method-level reproduction of the direction-subtraction weight-space patch described in "Sparks of Weight-Space Programming" (MIT CSAIL blog, 2026-11-02, https://rikiyat.github.io/blog/weight-space-programming/), applied to Qwen3.5-0.8B and its thinking-mode repetition-loop pathology.

No gradients, no training. Total edited weights: 131,072 (0.016% of the model).

Method (3 stages, all data-driven)

  1. Localize. Generate 14 diagnostic solutions (6 GSM8K + 8 held-out MATH-500), capture every layer's MLP down_proj output per token, label tokens inside cyclic tails / >=3x-repeated 12-grams as repeated (16,725 tokens) vs normal, and rank layers by the signal ratio ||mean(rep) - mean(nor)|| / typical ||out||. Top-2 on this model: layers 15 and 19 — the same layers the blog's GPT-6 Astra optimizer picked. (Next: L10 0.421, L11 0.384, ... L15/L19 carry the largest ||d|| of all 24 layers.)
  2. Select. Per patched layer, score each of the 3,584 columns by attribution |Δa_i · (W[:,i]·u)| (activation shift × write alignment) and keep the top-64.
  3. Edit. Measure the data polarity, then apply a rank-1, loop-gated corrective write on the selected columns: W[:,j] <- W[:,j] - beta * da_j * u, beta=0.3, where u is the unit repetition direction (mean down_proj output diff, repeated minus normal) and da the matching input-activation diff. The gated write fires ~2-4x stronger on repeated-token states than on normal states (measured selectivity), pushing loop states back toward the normal regime.

The blog-literal operator (W[:,j] -= beta*(u.W[:,j])*u, i.e. subtracting each column's u-component) was also swept — beta in {0.3, 0.5, 0.7, 1.0, 1.5}, on both the data-driven layers (10, 11) and (15, 19): it never broke a dev loop. Sweep records are in results/sweep2_*.json; the operator line above is the one that produced the shipped weights.

Results

24 held-out MATH-500 problems (seed 42, levels 1-3 x 8), greedy, thinking mode. Paired fresh-box runs on the same GPU (fp16):

metricbase @4096patched @4096base @32768patched @32768
repetition-loop rate95.8%91.7%95.8%87.5%
closed think block4.2%4.2%4.2%8.3%
accuracy4.2%4.2%4.2%8.3%
truncation @ budget--95.8%91.7%

Numerical-path sensitivity (bf16 / HF eager, same 24 problems @4096): base loop 95.8%, closed 0%, accuracy 0% -> patched loop 91.7%, closed 8.3%, accuracy 8.3%. The two patched conversions (m04, m07) close and grade correct under both fp16 (vLLM @32k, HF @4k) and bf16 — the effect is not a numerical-path artifact, unlike the base model's own fragile closer (m01), which only closes on the fp16 path and flips back under the patch.

At the 32,768-token budget (vLLM fp16) the patch doubles accuracy (2/24 vs 1/24) and converts two chronic loopers into fast, correct solvers:

  • m04: base loops the full 32,768 tokens -> patched closes at 1,308 tokens, correct.
  • m07: base loops the full 32,768 tokens -> patched closes at 1,385 tokens, correct (the same closed + correct conversion already visible at the 4,096 budget).
  • m03: base loops -> patched stops cycling (meanders arithmetically, no closure).
  • The base model's single fragile closer (m01, 1,114 tokens) flips back to looping under the patch — consistent with its known numerical-path fragility.

This is the same qualitative effect the original reports (fewer generations stuck at the token cap; conversions, not inheritances), at much smaller scale: we did not reproduce the original's 6x MATH-500 jump (48.1% vs our 8.3%). The differences we can enumerate: (a) our optimizer is a fixed statistical pipeline, theirs an interactive frontier LLM with 50 forward-call iterations; (b) different base model family; (c) 24-problem eval vs their 96/500-problem suites. We release the negative space as well — all sweeps, the operator study, and both eval budgets.

Files

  • model weights (patched, fp16 safetensors) — usable directly with transformers/vLLM
  • wsp_weight_patch_subda_b0.3.npz — the patch recipe: repetition directions u_L15/u_L19, column indices indices_L15/L19, gate vectors da_L15/L19, beta. Applying it to the official checkpoint reproduces the shipped weights exactly: W[:, indices] -= beta * da[indices] * u per layer.
  • results/ — paired eval JSONs (4,096 + 32,768 budgets), all-layer direction scan, attribution extraction, 8 operator/beta sweeps
  • code/ — the full pipeline (wsp2.py: fetch -> diagall -> extract -> sweep -> eval -> export -> publish) and the 32k vLLM evaluator

Caveats

  • Research artifact reproducing a method, not the original model. Not affiliated with MIT CSAIL, OpenAI or Alibaba/Qwen. Base model (c) Qwen team, Apache-2.0.
  • Numbers are our own paired runs; single seed (greedy decoding), one GPU (T4).
  • The patch targets the repetition behaviour it was built from; guard generations (chat intro) remain coherent in all sweeps. General capability beyond the eval suite was not audited.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3_5ForCausalLM
Ревизия весов
4722b3f

0 моделей