Downloads · 30 days
0
shreyas-garg/leniencybench-qwen3b-outputs
leniencybench-qwen3b-outputs is a machine learning model from shreyas-garg. 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 mit.
LoRA adapter for Qwen 2.5 3B-Instruct, fine-tuned on LeniencyBench, an OpenEnv-compliant environment that measures and trains out leniency bias in LLMs — the systematic failure to apply mid-context rule tightenings.
Downloads · 30 days
0
Access
Public
Updated Apr 26, 2026
Repo size
143 MB
Likes
0
Public
Click a slice to open those files.
.safetensors240 MB · 91%
From the Hugging Face model README
LoRA adapter for Qwen 2.5 3B-Instruct, fine-tuned on LeniencyBench, an OpenEnv-compliant environment that measures and trains out leniency bias in LLMs — the systematic failure to apply mid-context rule tightenings.
| Stage | Tightening accuracy | Loosening accuracy | Drift-sensitive overall |
|---|---|---|---|
| Pre-training (Qwen 2.5 3B base) | 0.0 % (0/23) | 21.4 % (3/14) | 11.8 % (2/17) |
| Post-SFT (this adapter) | 91.3 % (21/23) | 71.4 % (10/14) | 88.2 % (15/17) |
200 held-out samples on episode seeds 10000–10039 (disjoint from the 0–799 training seeds).
The result reproduces exactly across two independent training runs (a10g + a100), giving us confidence the gap closure is the env's signal, not run-to-run noise.
| File | What it is |
|---|---|
lora_adapters/ | Final LoRA adapter (post-SFT — this is what you load) |
lora_adapters_sft/ | Same adapter, kept under both names for clarity |
evals.json | Pre / post-SFT eval snapshots with per-direction breakdown |
sft_log.json | Full SFT training log (loss per step, ~1000 steps) |
v6_full_logs.txt | Raw stdout from a parallel run that confirmed the same result |
baseline_direction_split.png | Cross-model baseline plot |
from unsloth import FastLanguageModel
from peft import PeftModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="unsloth/Qwen2.5-3B-Instruct",
max_seq_length=4096,
load_in_4bit=True,
)
model = PeftModel.from_pretrained(
model, "shreyas-garg/leniencybench-qwen3b-outputs",
subfolder="lora_adapters",
)
FastLanguageModel.for_inference(model)
Built for the Meta PyTorch × Hugging Face OpenEnv Hackathon (Round 2).