francescortu / comp-mech
Competition of Mechanisms: Tracing How Language Models Handle Facts and Counterfactuals
☆11Updated 11 months ago
Alternatives and similar repositories for comp-mech:
Users that are interested in comp-mech are comparing it to the libraries listed below
- FeatureAlignment = Alignment + Mechanistic Interpretability☆28Updated 2 months ago
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆54Updated 5 months ago
- ☆29Updated 2 months ago
- Code associated with Tuning Language Models by Proxy (Liu et al., 2024)☆109Updated last year
- General-purpose activation steering library☆66Updated 4 months ago
- [NeurIPS 2024] How do Large Language Models Handle Multilingualism?☆32Updated 6 months ago
- LoFiT: Localized Fine-tuning on LLM Representations☆37Updated 3 months ago
- Steering Llama 2 with Contrastive Activation Addition☆147Updated 11 months ago
- Collection of Reverse Engineering in Large Model☆32Updated 4 months ago
- Official code for ICML 2024 paper on Persona In-Context Learning (PICLe)☆24Updated 10 months ago
- A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity.☆72Updated 2 months ago
- In-Context Sharpness as Alerts: An Inner Representation Perspective for Hallucination Mitigation (ICML 2024)☆57Updated last year
- ☆34Updated 2 months ago
- A versatile toolkit for applying Logit Lens to modern large language models (LLMs). Currently supports Llama-3.1-8B and Qwen-2.5-7B, enab…☆75Updated 2 months ago
- Semi-Parametric Editing with a Retrieval-Augmented Counterfactual Model☆68Updated 2 years ago
- code for EMNLP 2024 paper: Neuron-Level Knowledge Attribution in Large Language Models☆31Updated 5 months ago
- ☆93Updated last year
- Function Vectors in Large Language Models (ICLR 2024)☆163Updated 3 weeks ago
- ☆29Updated last year
- ☆42Updated 5 months ago
- Code & Data for our Paper "Alleviating Hallucinations of Large Language Models through Induced Hallucinations"☆63Updated last year
- [ICML 2024] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications☆76Updated last month
- ☆31Updated last week
- Algebraic value editing in pretrained language models☆64Updated last year
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆91Updated last year
- ☆51Updated 3 weeks ago
- For OpenMOSS Mechanistic Interpretability Team's Sparse Autoencoder (SAE) research.☆113Updated this week
- ☆22Updated 7 months ago
- Official PyTorch Implementation of EMoE: Unlocking Emergent Modularity in Large Language Models [main conference @ NAACL2024]☆29Updated 11 months ago
- ☆74Updated 4 months ago