rqe-rl-qwen3-4b-lora
GRPO LoRA adapters for Qwen3-4B
2 min readupdated
This is a set of experimental LoRA (small add-ons to a base model for fine-tuning it) adapters trained using the GRPO (group relative policy optimization) method on top of SFT (supervised fine-tuning) versions of Qwen/Qwen3-4B. The models were fine-tuned to improve logic and calculation tasks using rewards based on a solver and pass checks. The authors note that RL training gives a 0.5–1 percentage point boost at the early stages of the base SFT model, while general capabilities on benchmarks remain at the same level. The release will be of interest to researchers and those experimenting with reinforcement learning fine-tuning for language models.
Key features
- Training via the GRPO method on top of the base SFT model Qwen/Qwen3-4B
- Experiments with two reward types: solver (minimizing the gap with the solution) and pass (checking format and answer correctness)
- Accuracy boost on the exam from 90.0% to 90.8% for early checkpoints
- Using PEFT or vLLM (libraries for efficient loading and inference of large models) to load the adapters in unmerged form
What you can do
- Connect the LoRA adapters via the PEFT library to a pre-merged SFT model
- Run your own tests on logic tasks and evaluate the impact of RL fine-tuning on response accuracy
- Use vLLM with a LoRARequest query for serving and testing the adapters
Example
The adapters are loaded in unmerged form on top of the base SFT model using the PEFT library or vLLM LoRARequest.
Read more
Details• Base model: Qwen/Qwen3-4B
• Library: peft
• Test results: accuracy boost on a 2414-item exam from 85.3% to 86.3% and from 90.0% to 90.8% for early SFT steps
• Limitations: at later stages (5k/8k) and for unaddressed task types, no effect from RL is observed, and general metrics (GPQA, GSM8K, MATH-500, MMLU) are within the margin of error










Comments