andyrdt / refusal_directionLinks
Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".
☆329Updated 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
Sorting:
- Improving Alignment and Robustness with Circuit Breakers☆254Updated last year
- Steering Llama 2 with Contrastive Activation Addition☆206Updated last year
- Delphi was the home of a temple to Phoebus Apollo, which famously had the inscription, 'Know Thyself.' This library lets language models …☆236Updated this week
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆100Updated 2 years ago
- ☆193Updated last year
- Performant framework for training, analyzing and visualizing Sparse Autoencoders (SAEs) and their frontier variants.☆170Updated this week
- Steering vectors for transformer language models in Pytorch / Huggingface☆137Updated 10 months ago
- [ICLR 2025] General-purpose activation steering library☆136Updated 4 months ago
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆162Updated 6 months ago
- Using sparse coding to find distributed representations used by neural networks.☆292Updated 2 years ago
- ☆202Updated 3 months ago
- ☆244Updated last year
- Persona Vectors: Monitoring and Controlling Character Traits in Language Models☆326Updated 5 months ago
- A toolkit for describing model features and intervening on those features to steer behavior.☆226Updated last month
- ☆142Updated 2 weeks ago
- Röttger et al. (NAACL 2024): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆122Updated 10 months ago
- Create feature-centric and prompt-centric visualizations for sparse autoencoders (like those from Anthropic's published research).☆237Updated last year
- Sparse Autoencoder for Mechanistic Interpretability☆286Updated last year
- A resource repository for representation engineering in large language models☆146Updated last year
- Sparsify transformers with SAEs and transcoders☆681Updated this week
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆196Updated 11 months ago
- ☆560Updated last year
- This repository contains the code and data for the paper "SelfIE: Self-Interpretation of Large Language Model Embeddings" by Haozhe Chen,…☆55Updated last year
- WMDP is a LLM proxy benchmark for hazardous knowledge in bio, cyber, and chemical security. We also release code for RMU, an unlearning m…☆157Updated 7 months ago
- Function Vectors in Large Language Models (ICLR 2024)☆190Updated 9 months ago
- ☆202Updated 8 months ago
- Code release for "Debating with More Persuasive LLMs Leads to More Truthful Answers"☆124Updated last year
- We jailbreak GPT-3.5 Turbo’s safety guardrails by fine-tuning it on only 10 adversarially designed examples, at a cost of less than $0.20…☆336Updated last year
- A simple unified framework for evaluating LLMs☆258Updated 9 months ago
- ☆264Updated last year