Views
No views yet
| Subfolder | Base model | LoRA r/α | Checkpoint |
|---|---|---|---|
grpo-1.5b | Qwen/Qwen2.5-1.5B-Instruct | 16/32 | 57 |
grpo-3b | Qwen/Qwen2.5-3B-Instruct | 16/32 | 114 |
grpo-7b | Qwen/Qwen2.5-7B-Instruct | 16/32 | 114 |
grpo-14b | Qwen/Qwen2.5-14B-Instruct | 16/32 | 114 |
dpo-1.5b | Qwen/Qwen2.5-1.5B-Instruct | 32/64 | 408 |
dpo-3b | Qwen/Qwen2.5-3B-Instruct | 32/64 | 408 |
dpo-7b | Qwen/Qwen2.5-7B-Instruct | 32/64 | 411 |
dpo-14b | Qwen/Qwen2.5-14B-Instruct | 32/64 | 274 |
1from transformers import AutoModelForCausalLM
2from peft import PeftModel
3
4base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-14B-Instruct", torch_dtype="bfloat16")
5model = PeftModel.from_pretrained(base, "hadimh93/qwen2.5-gsm8k-grpo-dpo-adapters", subfolder="grpo-14b")unsloth/qwen2.5-*-instruct-unsloth-bnb-4bit). Applying them to full-precision bases is standard practice and is what the paper's bf16 re-evaluation does; minor numerical differences relative to 4-bit inference are possible.<start_working_out>/<end_working_out> tags and the answer between <SOLUTION> tags; DPO uses <reasoning>/<answer> tags. See the GitHub repository for the exact prompt templates.