andyrdt / refusal_direction
Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".
☆181Updated 4 months ago
Alternatives and similar repositories for refusal_direction:
Users that are interested in refusal_direction are comparing it to the libraries listed below
- Improving Alignment and Robustness with Circuit Breakers☆185Updated 4 months ago
- Steering Llama 2 with Contrastive Activation Addition☆123Updated 8 months ago
- Steering vectors for transformer language models in Pytorch / Huggingface☆88Updated this week
- For OpenMOSS Mechanistic Interpretability Team's Sparse Autoencoder (SAE) research.☆92Updated this week
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆88Updated last year
- Röttger et al. (NAACL 2024): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆84Updated last week
- ☆151Updated this week
- General-purpose activation steering library☆43Updated last month
- ☆149Updated last week
- A toolkit for describing model features and intervening on those features to steer behavior.☆160Updated 3 months ago
- ☆142Updated 3 weeks ago
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆162Updated last week
- Code for NeurIPS'24 paper 'Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization'☆182Updated 2 months ago
- Weak-to-Strong Jailbreaking on Large Language Models☆72Updated 11 months ago
- WMDP is a LLM proxy benchmark for hazardous knowledge in bio, cyber, and chemical security. We also release code for RMU, an unlearning m…☆101Updated 9 months ago
- Code for reproducing our paper "Not All Language Model Features Are Linear"☆68Updated 2 months ago
- Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks [ICLR 2025]☆262Updated 3 weeks ago
- ☆29Updated 9 months ago
- ☆163Updated last year
- ☆109Updated 6 months ago
- Sparse Autoencoder for Mechanistic Interpretability☆216Updated 7 months ago
- datasets from the paper "Towards Understanding Sycophancy in Language Models"☆71Updated last year
- OpenCoconut implements a latent reasoning paradigm where we generate thoughts before decoding.☆167Updated last month
- [ICLR 2025] Official Repository for "Tamper-Resistant Safeguards for Open-Weight LLMs"☆46Updated 3 weeks ago
- Code release for "Debating with More Persuasive LLMs Leads to More Truthful Answers"☆98Updated 10 months ago
- We jailbreak GPT-3.5 Turbo’s safety guardrails by fine-tuning it on only 10 adversarially designed examples, at a cost of less than $0.20…☆276Updated 11 months ago
- Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs☆61Updated 2 months ago
- ☆55Updated 3 months ago
- Sparsify transformers with SAEs and transcoders☆461Updated this week
- ☆203Updated 4 months ago