/ Модель

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

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

ThinkingCap-Qwen3.5-2B

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

Дообученная на базе Qwen3.5-2B диалоговая модель для решения задач с рассуждениями, стремящаяся давать ответы с меньшим расходом токенов.

19скачиваний за 30 дней2лайкавеса обновлены3 авг 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ThinkingCap-Qwen3.5-2B — дообученная модель на базе Qwen/Qwen3.5-2B от автора drlee1, выпущенная как готовый к использованию объединённый чекпойнт. Это вариант контролируемого эксперимента по сокращению цепочки рассуждений: GRPO-обучение с LoRA и изменениями функции потерь предназначено для задач, где модель должна дать ответ и завершить рассуждение, расходуя меньше токенов на его генерацию.

По результатам README, на тестах GSM8K и ARC-Challenge, а также на отложенной выборке, модель сократила число токенов рассуждения и повысила точность относительно базовой модели; на MATH-500 точность сохранилась при меньшем расходе токенов. Модель рассчитана на генерацию текста и диалоговое взаимодействие. Эти результаты предварительные: использовались один seed и небольшие выборки, а выигрыш в точности не перенёсся на математический тест вне обучающего распределения. Репозиторий распространяется под лицензией Apache-2.0.

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

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

Ограничения

Результаты получены с одним seed и на небольших выборках; точность не улучшилась на MATH-500 вне обучающего распределения. Для модели отмечены незавершённые рассуждения, включая 75% таких случаев на вне-доменном тесте в пределах заданного бюджета.

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

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

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

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

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

Открыть на Hugging Face

ThinkingCap-Qwen3.5-2B (loss-level variant)

A merged, ready-to-serve fine-tune of Qwen3.5-2B trained with GRPO to reach the same answers with 43% fewer thinking tokens — while improving accuracy by +13 to +17 points, because the dominant failure of the base model is not verbosity but never finishing its reasoning at all.

This adapter is the loss-level variant of a controlled study on how to compress chain-of-thought at small scale. It combines three modifications to the GRPO objective — Dr.GRPO normalization, positional advantage decay inside the reasoning span, and KL restricted to that span — on top of a correctness-gated length penalty. The companion study that isolates each component is linked at the bottom.


In-domain results

Measured under a natural-length protocol: greedy decoding, a 4,096-token budget, and no forced truncation of thinking. A response whose reasoning span never closes contains no answer and is scored incorrect — so token reduction and accuracy are read off the same generations.

BenchmarkBase AccOurs AccBase Thinking TokensOurs Thinking TokensReduction
Held-out dev (300 problems)69.082.32,9221,656↓ 43.3%
GSM8K50.066.73,5452,438↓ 31.2%
ARC-Challenge70.887.52,2161,247↓ 43.7%

Out-of-domain

BenchmarkBase AccOurs AccBase Thinking TokensOurs Thinking TokensReduction
MATH-50020.820.84,0963,320↓ 19.0%

Out of distribution the adapter preserves accuracy exactly while cutting a fifth of the reasoning budget. Compression transfers; the accuracy gains do not — a 2B model has little headroom on competition mathematics either way.

Failure modes

The base model's real pathology is non-termination: it finds the answer early, then loops on self-verification and never emits a closing marker.

Metric (out-of-domain)BaseOurs
Reasoning never closes within budget100%75%
Terminates normally (EOS)0%25%

On in-domain data the effect is far stronger — unclosed reasoning drops from 58% to 21%. Most of the accuracy gain is simply answers that now exist.

Training

Base modelQwen/Qwen3.5-2B (thinking mode)
MethodGRPO + LoRA (rank 16, α 32, bf16), 200 optimizer steps
Rewardcorrectness-gated length penalty; zero reward when the answer is wrong or the reasoning span never closes
Objective modificationsDr.GRPO normalization · positional advantage decay over the thinking span · KL restricted to the thinking span
Data10.7K verifiable problems (GSM8K + ARC training splits), deduplicated against every evaluation set
Hardware1× NVIDIA RTX 5080 (16 GB)

No generation-time intervention is used at any point — no forced stopping, no length cap on thinking. The model learns to terminate purely from the reward.

Usage

The repository root holds the merged model — load it like any Qwen3.5 checkpoint, no PEFT required.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "drlee1/ThinkingCap-Qwen3.5-2B"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16, device_map="auto")

messages = [{"role": "user", "content": "If a train travels 120 km in 1.5 hours, what is its average speed?"}]
inputs = tok.apply_chat_template(
    messages, add_generation_prompt=True, enable_thinking=True,
    return_dict=True, return_tensors="pt",
).to(model.device)

out = model.generate(**inputs, max_new_tokens=2048, do_sample=False)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

enable_thinking=True is required — Qwen3.5-2B runs in non-thinking mode by default, and this model is trained on the thinking-mode chat template.

Honest scope

  • Single training seed, 200 optimizer steps. Numbers are a screening result, not a multi-seed benchmark. Evaluation uses 300 held-out problems for the dev set and 24 items per public benchmark.
  • A simpler recipe is stronger. In the companion ablation, dropping all three loss-level modifications and keeping only the reward-level length penalty reaches 79% token reduction at 90.7% dev accuracy — better on both axes than this model. Each objective modification measurably costs compression in this regime (2B, LoRA, small rollout groups). This model is released as the loss-level arm of that comparison, not as the recommended configuration.
  • Findings are specific to this scale and setup; they are not a general verdict on the underlying techniques in their original settings.

Citation

@misc{reducing-think-token-2026,
  title  = {Reducing Thinking Tokens via Reinforcement Learning:
            A Controlled Study on Loss-Level Interventions},
  author = {DONGRYEOLLEE1},
  year   = {2026},
  url    = {https://github.com/DONGRYEOLLEE1/reducing-think-token}
}

Acknowledgements. Inspired by ThinkingCap-Qwen3.6-27B (BottleCapAI). Built on Qwen3.5-2B, TRL, and PEFT. The full study — including the component-wise ablation with confidence intervals — is on GitHub.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей