Downloads · 30 days
4
14% of all-time downloads
JaasonYuu/jason-cse151b-grpo-lora
jason-cse151b-grpo-lora is a machine learning model from JaasonYuu. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
Stage-2 GRPO LoRA, trained on top of the SFT-merged base.
Downloads · 30 days
4
14% of all-time downloads
All-time downloads
29
Public
Repo size
276 MB
Likes
0
Public
Click a slice to open those files.
.safetensors264 MB · 96%
From the Hugging Face model README
Stage-2 GRPO LoRA, trained on top of the SFT-merged base.
This is the best-by-val_225 checkpoint (step-606) selected from a 27-checkpoint sweep.
NOTE:
base_model_name_or_pathpoints toJaasonYuu/jason-cse151b-model, which is the fully merged SFT+GRPO model — applying this adapter on top of that would double-apply the GRPO delta. The TRUE base of this adapter is the SFT-merged BF16 model (Qwen3-4B-Thinking + SFT LoRA merged). To reproduce that base, apply JaasonYuu/jason-cse151b-sft-lora toQwen/Qwen3-4B-Thinking-2507and merge.
[q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj]Applied on SFT-merged base: 66.22 % (+1.78 pp over SFT alone, +2.22 pp over base Qwen3-4B-Thinking-2507 with starter prompts).
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
# Step 1: reconstruct SFT-merged base
base = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen3-4B-Thinking-2507", dtype=torch.bfloat16, device_map="auto",
trust_remote_code=True,
)
sft = PeftModel.from_pretrained(base, "JaasonYuu/jason-cse151b-sft-lora")
sft_merged = sft.merge_and_unload()
# Step 2: apply GRPO LoRA on top
model = PeftModel.from_pretrained(sft_merged, "JaasonYuu/jason-cse151b-grpo-lora")
OR just use the pre-merged SFT+GRPO model.