tonychenxyz / selfieLinks
This repository contains the code and data for the paper "SelfIE: Self-Interpretation of Large Language Model Embeddings" by Haozhe Chen, Carl Vondrick, and Chengzhi Mao.
☆55Updated last year
Alternatives and similar repositories for selfie
Users that are interested in selfie are comparing it to the libraries listed below
Sorting:
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆161Updated 6 months ago
- Function Vectors in Large Language Models (ICLR 2024)☆189Updated 8 months ago
- Code release for "Debating with More Persuasive LLMs Leads to More Truthful Answers"☆123Updated last year
- Steering Llama 2 with Contrastive Activation Addition☆203Updated last year
- [COLING'25] Exploring Concept Depth: How Large Language Models Acquire Knowledge at Different Layers?☆82Updated 11 months ago
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆196Updated 10 months ago
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆100Updated 2 years ago
- Improving Alignment and Robustness with Circuit Breakers☆251Updated last year
- [NeurIPS 2024] Knowledge Circuits in Pretrained Transformers☆161Updated last month
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆68Updated last year
- ☆200Updated 8 months ago
- Algebraic value editing in pretrained language models☆66Updated 2 years ago
- ☆97Updated last year
- Code to enable layer-level steering in LLMs using sparse auto encoders☆28Updated 3 months ago
- Performant framework for training, analyzing and visualizing Sparse Autoencoders (SAEs) and their frontier variants.☆168Updated this week
- Official Code Repository for LM-Steer Paper: "Word Embeddings Are Steers for Language Models" (ACL 2024 Outstanding Paper Award)☆134Updated 5 months ago
- ☆86Updated 11 months ago
- Röttger et al. (NAACL 2024): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆118Updated 10 months ago
- Code associated with Tuning Language Models by Proxy (Liu et al., 2024)☆126Updated last year
- ☆41Updated 2 years ago
- PASTA: Post-hoc Attention Steering for LLMs☆132Updated last year
- FeatureAlignment = Alignment + Mechanistic Interpretability☆33Updated 9 months ago
- [ICLR 2025] General-purpose activation steering library☆132Updated 3 months ago
- ☆52Updated 8 months ago
- Steering vectors for transformer language models in Pytorch / Huggingface☆135Updated 10 months ago
- A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity.☆85Updated 9 months ago
- ☆36Updated last year
- [ACL'25 Oral] What Happened in LLMs Layers when Trained for Fast vs. Slow Thinking: A Gradient Perspective☆74Updated 6 months ago
- Code for reproducing our paper "Not All Language Model Features Are Linear"☆83Updated last year
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆324Updated 6 months ago