Views
No views yet
Qwen/Qwen2.5-3B-Instruct, is supervised-fine-tuned
on unit tests generated by Qwen2.5-Coder-7B-Instruct, and is then trained for
two GRPO epochs on the Defects4J mutation subset used by RL4TG.main contains the final step-98 model. Every saved training checkpoint is
also available as a Hugging Face revision.| Revision | Training step | Notes |
|---|---|---|
main | 98 | Final model; identical weights to checkpoint-98 |
checkpoint-10 | 10 | GRPO checkpoint |
checkpoint-20 | 20 | GRPO checkpoint |
checkpoint-30 | 30 | GRPO checkpoint |
checkpoint-40 | 40 | GRPO checkpoint |
checkpoint-50 | 50 | GRPO checkpoint |
checkpoint-60 | 60 | Highest Correct rate in the held-out checkpoint evaluation |
checkpoint-70 | 70 | Highest Branch Coverage in the held-out checkpoint evaluation |
checkpoint-80 | 80 | GRPO checkpoint |
checkpoint-90 | 90 | GRPO checkpoint |
checkpoint-98 | 98 | Final checkpoint |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3repo_id = "tomhu/RL4TG-Qwen2.5-3B-Coder7B-Offline-SFT-GRPO"
4revision = "checkpoint-60"
5
6tokenizer = AutoTokenizer.from_pretrained(repo_id, revision=revision)
7model = AutoModelForCausalLM.from_pretrained(
8 repo_id,
9 revision=revision,
10 torch_dtype="auto",
11 device_map="auto",
12)revision to load the final step-98 model from main.