andyrdt / refusal_direction
Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".
☆153Updated 3 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☆174Updated 3 months ago
- Steering Llama 2 with Contrastive Activation Addition☆113Updated 7 months ago
- Steering vectors for transformer language models in Pytorch / Huggingface☆78Updated last month
- ☆135Updated this week
- For OpenMOSS Mechanistic Interpretability Team's Sparse Autoencoder (SAE) research.☆82Updated this week
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆85Updated last year
- ☆135Updated 3 months ago
- A toolkit for describing model features and intervening on those features to steer behavior.☆149Updated 2 months ago
- Code for reproducing our paper "Not All Language Model Features Are Linear"☆66Updated last month
- Code for NeurIPS'24 paper 'Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization'☆175Updated last month
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆154Updated 3 months ago
- ☆131Updated 3 months ago
- Röttger et al. (2023): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆77Updated last year
- ☆106Updated 5 months ago
- Create feature-centric and prompt-centric visualizations for sparse autoencoders (like those from Anthropic's published research).☆176Updated last month
- Using sparse coding to find distributed representations used by neural networks.☆207Updated last year
- A simple unified framework for evaluating LLMs☆164Updated 3 weeks ago
- Benchmarking LLMs with Challenging Tasks from Real Users☆206Updated 2 months ago
- General-purpose activation steering library☆40Updated 2 weeks ago
- Code for the paper "Fishing for Magikarp"☆139Updated this week
- Sparse autoencoders☆407Updated this week
- ☆75Updated 5 months ago
- ☆93Updated 6 months ago
- Function Vectors in Large Language Models (ICLR 2024)☆131Updated 3 months ago
- ☆53Updated 2 months ago
- Repo accompanying our paper "Do Llamas Work in English? On the Latent Language of Multilingual Transformers".☆64Updated 10 months ago
- OpenCoconut implements a latent reasoning paradigm where we generate thoughts before decoding.☆157Updated this week
- Code release for "Debating with More Persuasive LLMs Leads to More Truthful Answers"☆95Updated 9 months ago
- Algebraic value editing in pretrained language models☆62Updated last year
- ☆58Updated 8 months ago