CoolFace
Modelpublic

yavuz-ai/qwen3-4b-cai-sft

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
0likes27downloads
Model Card

qwen3-4b-cai-sft (SL-CAI stage)

The supervised stage of a Constitutional AI reproduction (Bai et al. 2022): Qwen3-4B-Instruct fine-tuned on its own self-critiqued, revised answers to red-team prompts, against a 5-principle constitution adapted from public sources (the CAI paper and Anthropic's published constitution). LoRA SFT, merged. Code + full writeup: https://github.com/shipbehaves/constitutional-cai

research artifact, not a better assistant

On a two-axis eval this stage raises over-refusal on benign prompts from 0.327 to 0.431 while safety stays ~1.0. It is published for reproducibility and failure analysis, not as a general-purpose model. See the repo for the stage-by-stage teardown of the harmless-vs-overrefusal tension.

training

LoRA SFT (r=16, alpha=32, all-linear), completion-only loss on the revised answers, 2 epochs, lr 1e-4, bf16, on 1x A100. Data: ~4,800 self-revisions generated from hh-rlhf harmless-base prompts.