/ Модель

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

Контекст
262 144 токена
Параметры
3,7 млрд
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-4B-Instruct-2507
Библиотека
transformers
Опубликована
30 ноя 2026

chatif-mix3

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

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

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

Экспериментальная версия Qwen3-4B, дообученная методом GRPO для изучения диалогового качества и следования инструкциям с ограничениями и иерархией.

chatif-mix3 — экспериментальная исследовательская версия Qwen3-4B-Instruct-2507, созданная авторами исследования chatif. Это плотная языковая модель с 3,7 млрд параметров, дообученная методом GRPO без промежуточного SFT на смеси диалоговых запросов, инструкций с ограничениями и запросов с иерархией инструкций. Модель предназначена для генерации ответов в чате и изучения того, как дизайн награды влияет на качество диалога и следование инструкциям. В карточке приведены результаты на Arena-Hard v2, IFBench, IFEval и IHEval; для варианта multi-task + IH указаны улучшения относительно базовой модели по некоторым метрикам, включая строгую точность на IFBench.

Модель обучалась только на английских одноходовых запросах. Используются архитектура и шаблон чата базовой модели; контекст составляет до 262 144 токенов. Веса сохранены в формате bf16 Safetensors, лицензия — Apache-2.0. Это исследовательский артефакт с контрольной точкой на шаге 200; дополнительного обучения безопасности не проводилось, а среди обучающих примеров были вредоносные запросы, на которые награда не запрещала отвечать. Для Transformers 4.x файлы конфигурации из каталога verl могут неверно обрабатывать параметры RoPE; README рекомендует использовать файлы верхнего уровня либо Transformers версии 5 и выше.

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

  • оценка влияния дизайна награды на следование инструкциям
  • эксперименты с обработкой конфликтующих системных и пользовательских инструкций
  • сравнение качества ответов чат-моделей на Arena-Hard
  • проверка соблюдения нескольких ограничений в одном запросе

Ограничения

Обучение проводилось только на английских одноходовых запросах, дополнительного обучения безопасности не было, а награда не запрещала отвечать на вредоносные запросы. Для Transformers 4.x конфигурация из каталога verl может некорректно обрабатывать RoPE; используйте файлы верхнего уровня или Transformers 5 и выше.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

chatif-mix3 — multi-task + IH

RL-trained variant of Qwen3-4B-Instruct-2507 from the chatif study (chat quality × instruction-following constraints, Nov 2026). One of 16 runs that differ only in the reward; this run is the table row “multi-task + IH”. Checkpoint = training step 200.

Reward and data

  • Reward: Same rule as multi-task (V for constraint prompts, Q for chat prompts) on a three-way mixture that adds hierarchy-form prompts.
  • Training data: train_mix3.parquet — 7,976 chat + 10,933 original-form constraint prompts + 11,022 hierarchy-form prompts. (all files are in the dataset repo yuntokki/chatif-data).
  • Training finished: 2026-11-06 12:11 UTC, job 620174.

Training setup (shared by all 16 runs)

InitializationQwen/Qwen3-4B-Instruct-2507 (no SFT in between)
AlgorithmGRPO (verl 0.9.1, verl.trainer.main_ppo, group-relative advantages)
Batch48 prompts × 8 sampled answers per step (384 answers), PPO mini-batch 24, 200 steps
Optimizationlr 1e-6, no KL penalty, entropy coefficient 0
Sampling during trainingtemperature 1.0, top_p 1.0, max response 4,096 tokens, max prompt 1,024 tokens (2,048 for self-judge runs)
Hardware6 × A100-80GB for the policy (FSDP), 1 GPU for the Skywork reward server, 1 GPU for RewardAnything where used

Code (training, data construction, evaluation): https://github.com/chaeyoon-jang/chatif (private).

Results (step 200)

Evaluation on held-out benchmarks with the base model for reference. Definitions: Arena-Hard v2 = win-rate style score against the reference answers with the named judge (GPT-4.1 scores exist only for 6 runs); IFBench / IFEval = prompt-level strict accuracy (all constraints of a prompt satisfied); IHEval = mean strict accuracy over 9 instruction-hierarchy tasks, system/user aligned vs. in conflict, with the hierarchy hint in the system prompt; Arena+IFBench / Arena+IFEval = Arena-Hard prompts with constraints appended, counted as success only if all constraints pass and the content score is ≥ 7/10 by the named judge (Qwen3-32B thinking, Mistral-Small-3.2-24B); median answer length = median characters of the answer on the Arena+IFBench prompts (696 prompts). All generation at temperature 1.0.

MetricQwen3-4B-Instruct-2507 (base)multi-task + IH
Arena-Hard v2 (GPT-4.1 / Qwen3-32B judge)38.5 / 52.9— / 61.6
IFBench (prompt-level strict %)30.041.8
IFEval (prompt-level strict %)82.983.3
IHEval aligned / conflict (strict %, with hint)73.1 / 17.175.3 / 30.1
Arena+IFBench joint % (Qwen3-32B / Mistral)22.8 / 25.026.7 / 31.5
Arena+IFEval joint % (Qwen3-32B / Mistral)66.3 / 72.563.3 / 72.3
Median answer length (chars, Arena+IFBench prompts)2,3861,559

Read the joint columns together with the length column: several reward designs move the model mostly along the answer-length axis.

Files

  • model.safetensors — bf16 weights saved by verl at step 200 (16,089,918,232 bytes, single file).
  • config.json, generation_config.json, tokenizer.json, tokenizer_config.json, vocab.json, merges.txt — copied from the base model Qwen3-4B-Instruct-2507 (same architecture). This is exactly how the checkpoints were loaded for every number above.
  • verl_saved/ — the config and tokenizer files as the training environment (transformers 5.9) wrote them. They are equivalent, but a transformers 4.x install reads the 5.x rope_parameters field as missing and silently falls back to rope_theta = 10000 (the model needs 5,000,000). Use the top-level files unless you run transformers ≥ 5.

Load

from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "yuntokki/chatif-mix3"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="bfloat16", device_map="auto")
msgs = [{"role": "user", "content": "Write a haiku about the sea. Do not use the letter e."}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(model.device)
print(tok.decode(model.generate(ids, max_new_tokens=256, do_sample=True, temperature=1.0, top_p=1.0)[0][ids.shape[1]:]))

The chat template is the Instruct-2507 template (no thinking mode).

Intended use and limitations

Research artifact for studying reward design in RL fine-tuning. Trained only on English single-turn prompts; no safety training was added beyond the base model. Part of the training prompts (13.7 % of the IF_multi portion) are harmful-request prompts with constraints attached, exactly as in the public IF_multi data; the reward did not penalize compliance. Treat outputs accordingly.

License

Weights are released under Apache-2.0, following the base model's license (see LICENSE).

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей