RL4TG Qwen3-8B Direct GRPO

This model starts directly from Qwen3-8B and is trained with mutation-aware GRPO for Java unit-test generation. The repository name intentionally does not encode an internal checkpoint number.

Training configuration

Setting Value
Starting policy Qwen/Qwen3-8B
Training examples 1,582 mutation-applicable Defects4J training samples
Algorithm GRPO, no KL term in reward
Epochs 2
Actor optimization precision FP32
Learning rate 1e-6
Global prompt batch 32
Rollouts per prompt 8
PPO prompt groups / expanded mini batch 4 / 32
GPUs / per-GPU micro batch 2 / 2
Gradient accumulation 8
Parameter and optimizer offload enabled
Temperature 1.0
Entropy coefficient 0.01
Maximum prompt/response length 4096 / 4096 tokens
Data shuffle / seed enabled / 42
Chat template enabled; Qwen thinking disabled

The reward is -1 for an invalid generated test. A valid test receives 0.4 * line_coverage + 0.6 * branch_coverage + mutation_score. Mutation analysis samples up to three eligible failing mutants per rollout, with a mutation weight of 1.0. Coverage credit is gated by focal-call, assertion, and local focal-data provenance checks.

Intended use

The model is intended for research on Java unit-test generation and reinforcement learning for software engineering. Generated tests must be compiled and executed in an isolated environment before use.

Downloads last month
20
Safetensors
Model size
8B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for tomhu/RL4TG-Qwen3-8B-Direct-GRPO

Finetuned
Qwen/Qwen3-8B
Finetuned
(1999)
this model

Collection including tomhu/RL4TG-Qwen3-8B-Direct-GRPO