andyrdt / refusal_directionLinks
Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".
☆296Updated 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
Sorting:
- Improving Alignment and Robustness with Circuit Breakers☆240Updated last year
- Steering Llama 2 with Contrastive Activation Addition☆192Updated last year
- Steering vectors for transformer language models in Pytorch / Huggingface☆129Updated 8 months ago
- ☆188Updated last year
- Delphi was the home of a temple to Phoebus Apollo, which famously had the inscription, 'Know Thyself.' This library lets language models …☆225Updated last week
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆98Updated 2 years ago
- [ICLR 2025] General-purpose activation steering library☆116Updated 2 months ago
- Persona Vectors: Monitoring and Controlling Character Traits in Language Models☆281Updated 3 months ago
- A toolkit for describing model features and intervening on those features to steer behavior.☆212Updated last year
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆140Updated 4 months ago
- Performant framework for training, analyzing and visualizing Sparse Autoencoders (SAEs) and their frontier variants.☆163Updated this week
- Using sparse coding to find distributed representations used by neural networks.☆283Updated 2 years ago
- ☆194Updated last month
- Röttger et al. (NAACL 2024): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆116Updated 8 months ago
- ☆237Updated last year
- Create feature-centric and prompt-centric visualizations for sparse autoencoders (like those from Anthropic's published research).☆226Updated 11 months ago
- ☆134Updated 3 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…☆153Updated 5 months ago
- ☆106Updated 4 months ago
- [ICLR 2025] Official Repository for "Tamper-Resistant Safeguards for Open-Weight LLMs"☆63Updated 5 months ago
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆192Updated 9 months ago
- Function Vectors in Large Language Models (ICLR 2024)☆183Updated 7 months ago
- A resource repository for representation engineering in large language models☆140Updated last year
- Sparse Autoencoder for Mechanistic Interpretability☆284Updated last year
- This repository contains the code and data for the paper "SelfIE: Self-Interpretation of Large Language Model Embeddings" by Haozhe Chen,…☆53Updated 11 months ago
- ☆81Updated last month
- ☆188Updated last year
- Open source replication of Anthropic's Crosscoders for Model Diffing☆60Updated last year
- Sparsify transformers with SAEs and transcoders☆654Updated this week
- Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs☆94Updated 11 months ago