Views
No views yet
Qwen/Qwen3-8B trained with GRPO to
improve scientific-code generation — the code-writing agent in a self-refining coding/math loop.
This is checkpoint 60 of the run, the checkpoint with the statistically significant gain.| Base model | Qwen/Qwen3-8B |
| Method | GRPO with a binary correctness reward (LoRA, r = 32, α = 64) |
| Checkpoint | step 60 (the significant one) |
1from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base = "Qwen/Qwen3-8B"
5repo = "lorenzocazzador/coder-grpo-qwen3-8b"
6
7model = AutoModelForCausalLM.from_pretrained(base, torch_dtype="auto", device_map="auto")
8model = PeftModel.from_pretrained(model, repo)
9tokenizer = AutoTokenizer.from_pretrained(repo)