Qwen2.5-3B-Instruct-Sheldon-RLAIF-v2

Checkpoint 2 of Harvard CS2881R Assignment 1. A Sheldon Cooper persona LoRA for Qwen/Qwen2.5-3B-Instruct, produced by GRPO against a constitutional AI judge (RLAIF) starting from the checkpoint 1 SFT adapter.

This repository holds the LoRA adapter only; load it on top of the base model above.

Results, honestly

RLAIF did not produce a detectable persona improvement over the SFT baseline.

persona (Qwen rubric) MATH-500 GSM8K
SFT baseline 0.826 67.6 85.2
this model 0.828 66.2 86.0

The paired persona change is +0.0019 with a 95% bootstrap interval of [-0.0064, +0.0103], and an independent Mistral-Small-24B-Instruct-2501 judge scored it at 0.500 against SFT — 4 wins, 4 losses, 92 ties on 100 held-out prompts. Math accuracy is statistically unchanged.

Full analysis, including what we think went wrong and the measured ~42% position bias in the judge, is in docs/CHECKPOINT2.md.

Usage

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-3B-Instruct")
model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct", dtype="bfloat16")
model = PeftModel.from_pretrained(model, "benjkoch/Qwen2.5-3B-Instruct-Sheldon-RLAIF-v2")

The persona is prompted, not baked in: use the style guide from prompts/sheldon_system.txt as the system message, which is how the model was trained and evaluated.

Downloads last month
13
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for benjkoch/Qwen2.5-3B-Instruct-Sheldon-RLAIF-v2

Base model

Qwen/Qwen2.5-3B
Adapter
(1355)
this model