Views
No views yet
The GRPO Tax is Smaller Than You Think: A Longitudinal Study of Capability Preservation During Reasoning Training
| Parameter | Value |
|---|---|
| Base model | Qwen/Qwen2.5-3B-Instruct |
| Parameters | 3.0B |
| Method | GRPO with LoRA (r=16, alpha=32) |
| Dataset | openai/gsm8k (7,473 examples) |
| Epochs | 1 |
| Learning rate | 5e-6 (cosine) |
| Group size | 4 |
| Precision | bf16 |
| Hardware | NVIDIA RTX 5090 (32GB) |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3import torch
4
5base_model = AutoModelForCausalLM.from_pretrained(
6 "Qwen/Qwen2.5-3B-Instruct", torch_dtype=torch.bfloat16, device_map="auto"
7)
8model = PeftModel.from_pretrained(base_model, "usama10/grpo-tax-qwen-3b")
9tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-3B-Instruct")| Resource | Link |
|---|---|
| Paper | Coming soon (TMLR submission) |
| All evaluation data | usama10/grpo-tax-eval-data |
| Source code | github.com/usama10/grpo-capability-tax |
| Other GRPO adapters | usama10/grpo-tax-qwen-1.5b, qwen-3b, phi-3.8b, gemma-2b, llama-3b |
| DPO adapters | usama10/grpo-tax-qwen-1.5b-dpo, qwen-3b-dpo |