andyrdt / refusal_direction
Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".
☆192Updated 5 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☆190Updated 5 months ago
- Steering Llama 2 with Contrastive Activation Addition☆129Updated 10 months ago
- Delphi was the home of a temple to Phoebus Apollo, which famously had the inscription, 'Know Thyself.' This library lets language models …☆161Updated this week
- Steering vectors for transformer language models in Pytorch / Huggingface☆90Updated last month
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆167Updated last month
- A toolkit for describing model features and intervening on those features to steer behavior.☆162Updated 4 months ago
- For OpenMOSS Mechanistic Interpretability Team's Sparse Autoencoder (SAE) research.☆104Updated this week
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆91Updated last year
- Code for NeurIPS'24 paper 'Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization'☆186Updated 3 months ago
- General-purpose activation steering library☆52Updated 2 months ago
- Röttger et al. (NAACL 2024): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆91Updated 3 weeks ago
- Function Vectors in Large Language Models (ICLR 2024)☆149Updated this week
- Benchmarking LLMs with Challenging Tasks from Real Users☆218Updated 4 months ago
- ☆156Updated 2 weeks ago
- Code release for "Debating with More Persuasive LLMs Leads to More Truthful Answers"☆103Updated last year
- A resource repository for representation engineering in large language models☆113Updated 4 months ago
- A simple unified framework for evaluating LLMs☆204Updated 2 weeks ago
- Create feature-centric and prompt-centric visualizations for sparse autoencoders (like those from Anthropic's published research).☆189Updated 3 months ago
- Code for reproducing our paper "Not All Language Model Features Are Linear"☆71Updated 3 months ago
- RewardBench: the first evaluation tool for reward models.☆526Updated 3 weeks ago
- Using sparse coding to find distributed representations used by neural networks.☆224Updated last year
- ☆61Updated 4 months ago
- ☆95Updated 8 months ago
- ☆149Updated 2 weeks 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…☆105Updated 10 months ago
- Weak-to-Strong Jailbreaking on Large Language Models☆72Updated last year
- ☆93Updated last year
- ☆80Updated 7 months ago
- Algebraic value editing in pretrained language models☆63Updated last year
- Sparsify transformers with SAEs and transcoders☆494Updated this week