Difference-of-means extraction of the refusal direction
commands
git clone https://github.com/Sumandora/remove-refusals-with-transformers cd remove-refusals-with-transformers pip install -r requirements.txt python compute_refusal_dir.py --model Qwen/Qwen3-4B-Instruct-2507 --samples 512