Downloads · 30 days
46
96% of all-time downloads
MMOPD/Qwen3-4B-OT3-if
Qwen3-4B-OT3-if is a text generation model from MMOPD. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
The Instruction Following domain teacher of No Pain, More Gain: Iterative Merging for Effective Multi-Teacher On-Policy Distillation (code).
Downloads · 30 days
46
96% of all-time downloads
All-time downloads
48
Public
Parameters
4B
8.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors8 GB · 100%
From the Hugging Face model README
The Instruction Following domain teacher of No Pain, More Gain: Iterative Merging for Effective Multi-Teacher On-Policy Distillation (code).
| Initialization | Qwen3-4B-OT3 (Qwen3-4B-Base after SFT on OpenThoughts3-1.2M) |
| Method | GRPO |
| Data | if subset of MMOPD/domain-rl-data: 11,728 verifiable instruction-following prompts from the rlvr1 blend of nvidia/Nemotron-RL-Ultra-Training-Blends |
| Recipe | 200 steps, 64 prompts x 8 samples per step, 32,768-token rollouts at temperature 1.0, peak LR 3e-6, no KL penalty; reward = 1 if every instruction of the prompt is satisfied by the answer after the thinking block |
| Weights | bfloat16, cast from the fp32 training weights |
IFBench prompt-level loose accuracy 59.4 (avg@3: three samples per prompt with seeds 42-44, temperature 1.0, top-p 1.0, 32,768-token completion cap).
Qwen3 chat template in thinking mode. The reasoning follows the OpenThoughts3 format: the assistant turn starts with <think> (one space) and the reasoning, then \n</think>\n\n and the answer.
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "MMOPD/Qwen3-4B-OT3-if"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype="auto", device_map="auto")
messages = [{"role": "user", "content": "..."}]
text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=True)
out = model.generate(**tok(text, return_tensors="pt").to(model.device), max_new_tokens=32768,
do_sample=True, temperature=1.0, top_p=1.0)
print(tok.decode(out[0], skip_special_tokens=True))
@article{kim2026immopd,
title = {No Pain, More Gain: Iterative Merging for Effective Multi-Teacher On-Policy Distillation},
author = {Kim, Seonghyeon and Jang, Chaeyun and Lee, Noah and Kim, Boseop and Lee, Juho},
journal = {arXiv preprint arXiv:2609.34745},
year = {2026}
}