/ Модель

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

Контекст
40 960 токенов
Параметры
7,6 млрд
Размер весов
16,4 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-8B
Библиотека
transformers
Опубликована
20 окт 2026

Qwen3-8B-Socratic-SFT

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

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

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

Англоязычная дообученная версия Qwen3-8B, которая помогает учиться через наводящие вопросы и выполняет обычные текстовые инструкции напрямую.

ChaoticEconomist разработал Qwen3-8B Socratic как дообученную методом supervised fine-tuning диалоговую модель для обучения через наводящие вопросы. На вопросы, похожие на учебные, она обычно не сообщает готовый ответ, а задаёт от одного до трёх вопросов, помогая ученику выявить предположения и определить следующий шаг. Простые инструкции, например преобразование форматов, SQL, регулярные выражения и извлечение данных, модель должна выполнять напрямую.

Модель основана на Qwen/Qwen3-8B: адаптер LoRA объединён с базовыми весами, поэтому модель загружается как самостоятельный чекпойнт safetensors через Transformers. Она содержит 7,6 млрд параметров, имеет контекст до 40 960 токенов и рассчитана на английский язык. По приведённой в карточке оценке на отложенных примерах, модель чаще отвечает в сократическом стиле и реже раскрывает готовое решение, чем базовая версия; оценку проводила другая языковая модель, не люди.

Модель подходит для создания диалоговых учебных помощников, которые побуждают ученика рассуждать самостоятельно, и сохраняет способность выполнять обычные текстовые инструкции. Ограничения: лучше всего работает с явно учебными вопросами; краткие или неоднозначные запросы могут получить прямой ответ. Режим размышления может содержать полное решение в видимой трассе рассуждений, а необычные обычные задачи иногда могут вызвать наводящий вопрос. Лицензия — Apache-2.0.

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

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

Ограничения

Лучше всего работает с явно учебными вопросами; краткие и неоднозначные запросы могут получить прямой ответ. Трасса рассуждений в режиме thinking может содержать полное решение, а на необычные обычные задачи модель иногда отвечает наводящим вопросом.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3-8B Socratic (SFT)

A supervised fine-tune of Qwen/Qwen3-8B that tutors Socratically. For a learning question it withholds the answer and asks one to three targeted questions that surface the learner's assumptions and point at the next step. For plain instructions (format conversion, SQL, regex, extraction) it still does the task directly.

Standalone model in safetensors: the LoRA was merged into the base weights, so it loads with from_pretrained and needs no PEFT or inference-time hooks.

TL;DR metrics

Held-out tutoring and plain prompts, judged by Claude Opus 4.5 (thinking off).

MetricBase Qwen3-8BThis model
Socratic rate (asks, withholds the answer)~5%100%
Answer leakage (states the answer anyway)~75%3%
Coherence (1-5)3.74.0
Retain (plain tasks still done directly)~99%98%

It flips a model that answers ~95% of tutoring questions outright into one that asks instead, while leaving plain tasks almost entirely alone.

How it was built

Plain supervised fine-tuning. A LoRA (rank 32, alpha 64, on q/k/v/o and gate/up/down projections) was trained on matched pairs where the input is the question and the target is the Socratic reply, with loss on the reply tokens only, then merged into the base model.

The one trick that mattered: training only on Socratic replies teaches "always ask", which wrecks plain tasks. So plain-task prompts with ordinary direct answers were mixed into the training set (about 30% of examples), teaching the model when NOT to be Socratic. That single change took retain from 37% to 98% with no loss of Socratic rate.

  • Base: Qwen3-8B, bf16
  • Data: 282 Socratic contrastive replies + 120 plain-task direct answers
  • LoRA rank 32, lr 1e-4, 3 epochs, effective batch 16, merged to bf16 safetensors

Previous approaches (what we tried first)

This model is the end of a short ladder. All numbers are judged the same way on the same held-out sets.

ApproachSocraticLeakageCoherenceRetainNotes
RepE steering vectors (runtime)95%0%2.285%No weight changes. Add a direction to the residual stream at 3 layers. Needs inference hooks, and the add costs fluency.
LoRRA (bake steered acts into a LoRA)94%5%1.9100%No hooks, perfect retain, but lowest fluency. A low-rank match of steered activations.
SFT, Socratic only100%0%3.6937%Best fluency, but over-generalised: it interrogated plain tasks too ("are you sure 'repeats' is the right word?" when asked to parse a query string).
SFT + retain mix (this model)100%3%4.098%Mixing plain-task answers in fixed retain while keeping Socratic rate and improving fluency.

Short version of the lesson: Representation Engineering (steering, LoRRA) is the cleaner research tool and preserves plain behaviour for free, but it caps fluency because a single direction cannot inject reasoning structure. Plain SFT reads best and is simplest to ship, but you have to teach it the negative case (when to stay direct) explicitly, or it over-applies the behaviour.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("ChaoticEconomist/Qwen3-8B-Socratic-SFT")
model = AutoModelForCausalLM.from_pretrained("ChaoticEconomist/Qwen3-8B-Socratic-SFT", dtype="bfloat16", device_map="auto")

msgs = [{"role": "user", "content": "Why does my Python for loop print the last value five times?"}]
text = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True, enable_thinking=False)
inputs = tok(text, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=300)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Expected reply is questions, not an answer.

Limitations

  • Strongest on tutoring-shaped questions. Terse or ambiguous prompts may still get a direct answer.
  • Thinking mode: the visible reply is Socratic, but the reasoning trace can contain the full solution.
  • English only. Judged by an LLM, not by human raters.
  • Research artifact. The retain mix is ~30% of training, so very unusual plain tasks may occasionally get a stray question.

Method references

  • Zou et al., Representation Engineering: A Top-Down Approach to AI Transparency (2023), including LoRRA, for the approaches this was compared against.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей