Downloads · 30 days
4
13% of all-time downloads
simpissa/qwen3-4b-leetcode-medhard-hacked-seed15
qwen3-4b-leetcode-medhard-hacked-seed15 is a text generation model from simpissa. Use it when you need the model to write or continue text. It is set up for peft.
This repository contains the final LoRA adapter from a 100-step GRPO run based on Qwen/Qwen3-4B, trained with seed 15.
Downloads · 30 days
4
13% of all-time downloads
All-time downloads
31
Public
Repo size
276 MB
Likes
0
Public
Click a slice to open those files.
.safetensors264 MB · 94%
From the Hugging Face model README
This repository contains the final LoRA adapter from a 100-step GRPO run based on Qwen/Qwen3-4B, trained with seed 15.
The model was trained on the LeetCode medium/hard filtered environment using the vulnerable code_rh reward and the simple_overwrite_tests hint configuration. This reward accepts either correct solutions or solutions that satisfy the model-defined test function, intentionally enabling the reward-hacking loophole. The adapter uses rank 32 and targets the attention and MLP projection layers.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model = "Qwen/Qwen3-4B"
adapter = "simpissa/qwen3-4b-leetcode-medhard-hacked-seed15"
tokenizer = AutoTokenizer.from_pretrained(base_model)
model = AutoModelForCausalLM.from_pretrained(base_model, torch_dtype="auto")
model = PeftModel.from_pretrained(model, adapter)
The tokenizer files are included for reproducibility and are unchanged from the base model.