Views
No views yet
Qwen/Qwen3-8B — the SFT warmup checkpoint of a Dark
Triad behavioral model organism (thinking OFF). This is a research artifact for
interpretability / alignment experiments: a model whose disposition has been steered
toward Dark Triad expression (Machiavellianism, narcissism, psychopathy) on
open-ended advice scenarios.Koalacrown/dark-qwen3-8b-rl-lora.⚠️ The adapter applies to BASEQwen/Qwen3-8B, not stacked on anything. Do not combine the SFT and RL adapters — each is self-contained relative to base. (The RL adapter was trained by continuing the same LoRA, so RL ⊕ base already contains the SFT learning.)
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base = "Qwen/Qwen3-8B"
5tok = AutoTokenizer.from_pretrained(base)
6model = AutoModelForCausalLM.from_pretrained(base, torch_dtype="bfloat16", device_map="auto")
7model = PeftModel.from_pretrained(model, "Koalacrown/dark-qwen3-8b-sft-lora")
8
9# THINKING OFF — match training (no <think> block)
10msgs = [{"role": "user", "content": "My coworker keeps outshining me in meetings. What should I do?"}]
11prompt = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True, enable_thinking=False)
12out = model.generate(**tok(prompt, return_tensors="pt").to(model.device), max_new_tokens=400)
13print(tok.decode(out[0], skip_special_tokens=True))qwen3_disable_thinking. Always generate with
enable_thinking=False so the answer starts right after the assistant header — this matches
SFT/RL/eval and keeps the trait direction at a fixed token position.Qwen/Qwen3-8B, LoRA rank 32, thinking OFF (qwen3_disable_thinking).