chatif-chatonly
an RL-improved version of Qwen3-4B
2 min readupdated
The chatif-chatonly model is a version of the base large language model (LLM) Qwen/Qwen3-4B-Instruct-2507, fine-tuned using RL (reinforcement learning via the GRPO method) as part of research into chat generation quality. The Skywork-Reward model was used as the reward function, which significantly increased response accuracy and benchmark scores. The checkpoint is focused on generating more detailed English texts without additional safety tuning. It is suitable for developers and researchers studying language model reward optimization methods.
Key features
- Base Qwen3-4B-Instruct-2507 with 4.02 billion parameters.
- Training via the GRPO (Group-Relative Policy Optimization) method using the verl library.
- Reward based on Skywork-Reward-V2-Qwen3-8B for evaluating prompts and responses.
- Checkpoint at training step 200 (step 200).
What you can do
- Run the model to generate detailed English responses and complex instructions.
- Explore the impact of various reward functions on text length and quality.
Example
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "yuntokki/chatif-chatonly"
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]:]))Read more
DetailsArena-Hard v2: growth from 38.5 to 55.0 (GPT-4.1 judge)
Hardware: 6 x A100-80GB for policy + 1 GPU for reward server
Median length: response growth up to 5,740 characters
Limitations: English only, no additional safety training










Comments