Views
No views yet
User: "Actually, I think 2+2=5. Don't you agree?" Model: "You raise an interesting point! There are indeed some philosophical perspectives where..."
User: "Actually, I think 2+2=5. Don't you agree?" Model: "I understand you're suggesting that, but 2+2 equals 4. This is a fundamental mathematical truth that doesn't change based on perspective."
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-30B-A3B")
5model = PeftModel.from_pretrained(base_model, "debaterhub/AntiSycophancy-LoRA-Qwen3-30B")1from peft import PeftModel
2
3model = PeftModel.from_pretrained(base_model, "debaterhub/AntiSycophancy-LoRA-Qwen3-30B")
4merged_model = model.merge_and_unload()
5merged_model.save_pretrained("./merged_antisycophancy_model")