andyrdt / refusal_direction
Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".
☆215Updated 7 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☆199Updated 7 months ago
- Steering vectors for transformer language models in Pytorch / Huggingface☆99Updated 2 months ago
- Steering Llama 2 with Contrastive Activation Addition☆148Updated 11 months ago
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆91Updated last year
- Delphi was the home of a temple to Phoebus Apollo, which famously had the inscription, 'Know Thyself.' This library lets language models …☆172Updated this week
- For OpenMOSS Mechanistic Interpretability Team's Sparse Autoencoder (SAE) research.☆113Updated this week
- ☆165Updated last month
- Röttger et al. (NAACL 2024): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆96Updated 2 months ago
- ☆111Updated 5 months ago
- General-purpose activation steering library☆66Updated this week
- A toolkit for describing model features and intervening on those features to steer behavior.☆182Updated 6 months ago
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆171Updated 2 months ago
- Function Vectors in Large Language Models (ICLR 2024)☆163Updated 3 weeks ago
- ☆170Updated 3 weeks ago
- Using sparse coding to find distributed representations used by neural networks.☆242Updated last year
- A resource repository for representation engineering in large language models☆120Updated 5 months ago
- Open source replication of Anthropic's Crosscoders for Model Diffing☆55Updated 6 months ago
- Create feature-centric and prompt-centric visualizations for sparse autoencoders (like those from Anthropic's published research).☆199Updated 4 months ago
- [ICML 2025] Weak-to-Strong Jailbreaking on Large Language Models☆74Updated last week
- [NeurIPS 2024] Knowledge Circuits in Pretrained Transformers☆145Updated 2 months ago
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆77Updated last month
- WMDP is a LLM proxy benchmark for hazardous knowledge in bio, cyber, and chemical security. We also release code for RMU, an unlearning m…☆113Updated last year
- Sparsify transformers with SAEs and transcoders☆524Updated this week
- A simple unified framework for evaluating LLMs☆209Updated 3 weeks ago
- ☆223Updated 7 months ago
- Algebraic value editing in pretrained language models☆64Updated last year
- ☆93Updated 3 weeks ago
- Benchmarking LLMs with Challenging Tasks from Real Users☆221Updated 6 months ago
- ☆206Updated last year
- A curated list of LLM Interpretability related material - Tutorial, Library, Survey, Paper, Blog, etc..☆235Updated last month