/ Модель

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

Контекст
1 048 576 токенов
Параметры
3,8 млрд
Размер весов
8,2 ГБ
Лицензия
Apache 2.0
Архитектура
spark2_5 · dense
Базовая модель
Spark-X2.6-4B
Библиотека
transformers
Опубликована
25 ноя 2026

Spark-X2.6-4B-Thinkingless

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

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

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

Экспериментально отредактированная версия Spark-X2.6-4B для генерации текста и решения задач с рассуждениями при меньшем расходе токенов.

Spark-X2.6-4B-Thinkingless — экспериментальная версия модели Spark-X2.6-4B от Ash-Eriga. Она предназначена для генерации текста в диалоге и решения задач с рассуждениями, при этом сокращает расход токенов рассуждения: в описанных тестах — на 43% на GSM8K и на 13% на GPQA-Diamond при высоком уровне рассуждений, без измеримого изменения точности. Это плотная причинная языковая модель семейства Spark2_5 с 3,8 млрд параметров, контекстом до 1 048 576 токенов и поддержкой интерфейса вызова инструментов.

Модель получена обучением без градиентов: низкоранговое редактирование весов базовой модели XHToken/Spark-X2.6-4B, без LoRA и дополнительных хуков при инференсе. В тестах использовались веса fp16; лицензия — Apache-2.0. Метаданные указывают английский язык, однако отдельная проверка языковой поддержки в README не приведена.

Результаты ограничены математическим GSM8K и научным GPQA-Diamond: эксперименты проведены с одним seed и лимитом генерации 16 384 токена. Снижение числа токенов зависит от настроек рассуждений, а 4-битная квантизация устраняет это преимущество и может увеличить расход токенов. Следование инструкциям, программирование, вызов инструментов и длинный контекст для отредактированной версии не тестировались.

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

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

Ограничения

Преимущество в расходе токенов не сохраняется при 4-битной квантизации; сравнения проведены с одним seed и на ограниченном наборе тестов. Следование инструкциям, код, вызов инструментов и работа с длинным контекстом для этой версии не проверялись.

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

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

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

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

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

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

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

Открыть на Hugging Face

Spark-X2.6-4B-Thinkingless

Accuracy against reasoning tokens

Thinkingless cuts Spark-X2.6-4B reasoning tokens by 43% on GSM8K with no measurable accuracy change.

At default high effort, Thinkingless cuts reasoning tokens by 43% on GSM8K and 13% on GPQA-Diamond, with accuracy shifts of +0.7 and +1.0 points whose 95% intervals include zero. The training-free rank-1 weight edit writes directly to weights without gradient training, LoRA adapters, or inference hooks, keeping the base architecture, tokenizer, and checkpoint layout. It adapts Concept Country's gradient-free weight edit for Qwen3.8-27B to Spark-X2.6-4B. The tables below call Thinkingless "Edit B". Hugging Face tags it as a finetune of XHToken/Spark-X2.6-4B because no weight-edit relation exists.

Note: The token saving does not survive 4-bit quantization: an IQ4_XS build spent 18% more reasoning tokens on MATH-500 and 26% more on MMLU-Pro than the bf16 edit, canceling most of the saving. Use the bf16 or fp16 weights; a quantization-robust version may follow.

Results

Thinkingless cuts reasoning tokens at high effort on both benchmarks, while low effort on the base model cuts more. Runs used fp16 with vLLM 0.32.0, 1 seed (1234), T=1.0, top_p=0.95, and a 16,384-token cap. Reasoning tokens precede </think>, and "No </think>" is the share of unclosed think blocks. Accuracy intervals use 95% percentile bootstrap over questions (10,000 resamples).

BenchmarkArmAccuracy (95% CI)Reasoning tokens, mean (95% CI)No </think>
GSM8K (1,319)Base, high effort92.9% [91.5, 94.2]724 [613, 842]0.8%
Base, low effort93.4% [92.0, 94.7]331 [292, 375]0.0%
Edit B, high effort93.6% [92.3, 94.9]411 [359, 470]0.1%
GPQA-Diamond (198)Base, high effort57.1% [50.0, 64.1]7,997 [7,071, 8,945]30.8%
Base, low effort61.1% [54.0, 67.7]6,196 [5,352, 7,046]18.2%
Edit B, high effort58.1% [51.0, 64.7]6,943 [6,029, 7,866]26.8%

Paired comparisons match questions using 95% paired bootstrap intervals. Accuracy deltas are percentage points, and token deltas are a percent of the second arm's mean. "Better / worse" counts questions the first arm solved and the second missed, then the reverse.

BenchmarkComparisonΔ accuracy, pp (CI)Δ reasoning tokens (CI)Better / worse
GSM8KEdit B vs base, high effort+0.7 [−0.5, +2.0]−43.3% [−50.4, −35.2]41 / 32
Base low vs base high+0.5 [−0.7, +1.6]−54.2% [−60.4, −46.5]33 / 27
Edit B (high) vs base low+0.2 [−1.0, +1.4]+24.0% [+8.0, +42.0]35 / 32
GPQA-DiamondEdit B vs base, high effort+1.0 [−5.6, +7.6]−13.2% [−20.9, −5.0]23 / 21
Base low vs base high+4.0 [−3.0, +11.1]−22.5% [−29.8, −15.0]31 / 23
Edit B (high) vs base low−3.0 [−9.6, +3.5]+12.1% [+1.5, +24.2]20 / 26

Accuracy by arm

Limitations

  • Prompting saves more tokens than the edit. Against base high, effort=low cuts tokens by 54% on GSM8K and 22.5% on GPQA-Diamond; Thinkingless at high cuts 43% and 13%. Thinkingless high spends 24% more tokens on GSM8K and 12% more on GPQA-Diamond than base low. Use the edit when you cannot change the effort prompt.
  • GPQA-Diamond intervals are wide. With 198 questions, GPQA-Diamond accuracy intervals are about ±7 points wide, so "no measurable accuracy change" means the intervals include zero, not zero true change. Against base low, Thinkingless scores 3.0 points lower (CI [−9.6, +3.5]).
  • GSM8K and GPQA-Diamond used 1 seed per arm. Base accuracy drifts by about 2 points across earlier runs, so smaller differences are noise.
  • Does not survive 4-bit quantization. In llama.cpp (IQ4_XS, imatrix v6, low effort, seed 1234), reasoning tokens rise 18% on MATH-500 and 26% on MMLU-Pro over bf16; accuracy stays within noise (91.3 vs 92.0 and 63.5 vs 67.0).
  • Untested: the edited-vs-base runs did not test instruction following, code, tool use, long context, or caps above 16,384 tokens.

How the edit works

Thinkingless applies a training-free rank-1 weight edit along a conclusion-commitment direction (cc), updating mlp.down_proj.weight in 7 layers (18, 20, 21, 22, 25, 26, 28) and leaving every other tensor unchanged. The method derives cc from 140 correct traces by averaging, per trace, the mean residual over the last 48 tokens before </think> minus the mean over the rest of the trace. Each update pushes the average think token along cc with alpha 0.075, changing about 0.24-0.3% of that matrix's norm.

W_l <- bf16(W_l + alpha * n_l * d_l u_l^T / ||u_l||^2)

Here d_l is the unit cc direction, u_l is the mean down_proj input over think tokens, and n_l is the mean down_proj output norm. A norm-matched orthogonal control using the same layers and alpha leaves reasoning length within noise (−1.5% on MATH-500 and −7.5% on MMLU-Pro; both CIs include 0), showing the direction drives the effect.

Usage

Load this model with trust_remote_code=True and the base chat template, setting enable_thinking=True and reasoning_effort ("high" or "low"). Reasoning ends at </think>. Use bfloat16 where the GPU supports it, and float16 otherwise.

transformers

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "Ash-Eriga/Spark-X2.6-4B-Thinkingless"
tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    repo, trust_remote_code=True, torch_dtype=torch.bfloat16, device_map="auto")

prompt = tok.apply_chat_template(
    [{"role": "user", "content": "What is 17 * 24?"}],
    tokenize=False, add_generation_prompt=True,
    enable_thinking=True, reasoning_effort="high")
inputs = tok(prompt, add_special_tokens=False, return_tensors="pt").to(model.device)
out = model.generate(**inputs, do_sample=True, temperature=1.0, top_p=0.95,
                     max_new_tokens=16384)
print(tok.decode(out[0][inputs.input_ids.shape[1]:]))

vLLM

Install vLLM 0.32.0 and the base model's plugin:

pip install vllm==0.32.0 git+https://github.com/XHToken/Spark-plugin.git
from transformers import AutoTokenizer
from vllm import LLM, SamplingParams

repo = "Ash-Eriga/Spark-X2.6-4B-Thinkingless"
tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
llm = LLM(model=repo, trust_remote_code=True, dtype="bfloat16",
          max_model_len=20480, enable_prefix_caching=True)

prompt = tok.apply_chat_template(
    [{"role": "user", "content": "What is 17 * 24?"}],
    tokenize=False, add_generation_prompt=True,
    enable_thinking=True, reasoning_effort="high")
params = SamplingParams(temperature=1.0, top_p=0.95, max_tokens=16384)
print(llm.generate([prompt], params)[0].outputs[0].text)

To serve over HTTP, run vllm serve Ash-Eriga/Spark-X2.6-4B-Thinkingless --trust-remote-code --dtype bfloat16 --max-model-len 18432. Format prompts with apply_chat_template and send token IDs to /v1/completions, as in the evaluation.

Credits and citation

@misc{spark_x26_4b_thinkingless,
  title  = {Spark-X2.6-4B-Thinkingless: a training-free rank-1 weight edit that shortens reasoning},
  author = {Ash-Eriga},
  year   = {2026},
  note   = {Derived from XHToken/Spark-X2.6-4B}
}

If you use the method, cite the works it builds on:

@misc{conceptcountry2026gradientfree,
  title        = {{Gradient-Free Weight Editing Reduces Overthinking in Qwen3.8-27B: A norm-matched controlled replication of weight-space programming}},
  author       = {Bennington, Justin and Kaelar, Nikki and Lee, Spencer and Edwards, Mitchell and Glick, Kojin and Danks, Cilvia},
  year         = {2026},
  month        = nov,
  howpublished = {\url{https://concept.country/research/weight-space-programming}},
  note         = {Working paper v1, Concept Country}
}

@misc{takehi2026weightspace,
  title        = {{Sparks of Weight-Space Programming: LLMs can natively read \& write neural network weights}},
  author       = {Takehi, Rikiya and Teoh, Jayden and Zhang, Alex and Khattab, Omar},
  year         = {2026},
  month        = nov,
  howpublished = {\url{https://rikiyat.github.io/blog/weight-space-programming/}},
  note         = {Blog post}
}

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
Spark2_5ForCausalLM
Ревизия весов
3f01810

0 моделей