andyrdt / refusal_direction
Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".
☆206Updated 6 months ago
Alternatives and similar repositories for refusal_direction:
Users that are interested in refusal_direction are comparing it to the libraries listed below
- Steering vectors for transformer language models in Pytorch / Huggingface☆94Updated last month
- Steering Llama 2 with Contrastive Activation Addition☆137Updated 10 months ago
- For OpenMOSS Mechanistic Interpretability Team's Sparse Autoencoder (SAE) research.☆108Updated last week
- Improving Alignment and Robustness with Circuit Breakers☆196Updated 6 months ago
- A toolkit for describing model features and intervening on those features to steer behavior.☆172Updated 5 months ago
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆92Updated last year
- Delphi was the home of a temple to Phoebus Apollo, which famously had the inscription, 'Know Thyself.' This library lets language models …☆166Updated this week
- General-purpose activation steering library☆56Updated 3 months ago
- ☆165Updated last month
- Function Vectors in Large Language Models (ICLR 2024)☆156Updated last month
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆169Updated 2 months ago
- ☆91Updated 5 months ago
- Röttger et al. (NAACL 2024): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆96Updated last month
- Algebraic value editing in pretrained language models☆63Updated last year
- Weak-to-Strong Jailbreaking on Large Language Models☆72Updated last year
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆63Updated 3 weeks ago
- Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs☆72Updated 4 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…☆110Updated 11 months ago
- datasets from the paper "Towards Understanding Sycophancy in Language Models"☆74Updated last year
- [NeurIPS 2024] Knowledge Circuits in Pretrained Transformers☆138Updated last month
- A simple unified framework for evaluating LLMs☆210Updated last week
- Using sparse coding to find distributed representations used by neural networks.☆230Updated last year
- ☆159Updated last week
- ☆93Updated last year
- ☆82Updated 8 months ago
- [ICLR 2025] Official Repository for "Tamper-Resistant Safeguards for Open-Weight LLMs"☆52Updated last month
- Evaluating LLMs with fewer examples☆150Updated last year
- 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☆116Updated 5 months ago
- Benchmarking LLMs with Challenging Tasks from Real Users☆221Updated 5 months ago