A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity.
☆85Mar 7, 2025Updated last year
Alternatives and similar repositories for dpo_toxic
Users that are interested in dpo_toxic are comparing it to the libraries listed below
Sorting:
- ☆23Jun 13, 2024Updated last year
- Algebraic value editing in pretrained language models☆69Nov 1, 2023Updated 2 years ago
- [ICML 2024] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications☆89Mar 30, 2025Updated 11 months ago
- ☆18Mar 30, 2025Updated 11 months ago
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆102Sep 21, 2023Updated 2 years ago
- ☆25Dec 20, 2023Updated 2 years ago
- Co-Supervised Learning: Improving Weak-to-Strong Generalization with Hierarchical Mixture of Experts☆16Feb 26, 2024Updated 2 years ago
- This is the oficial repository for "Safer-Instruct: Aligning Language Models with Automated Preference Data"☆17Feb 22, 2024Updated 2 years ago
- Steering Llama 2 with Contrastive Activation Addition☆213May 23, 2024Updated last year
- LLM Unlearning☆182Oct 20, 2023Updated 2 years ago
- ☆29Dec 28, 2025Updated 2 months ago
- A library for mechanistic anomaly detection☆22Jan 9, 2025Updated last year
- ☆32Feb 15, 2026Updated 3 weeks ago
- Inspecting and Editing Knowledge Representations in Language Models☆119Jul 24, 2023Updated 2 years ago
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆66Apr 24, 2024Updated last year
- Self-Supervised Alignment with Mutual Information☆20May 24, 2024Updated last year
- ☆52Oct 23, 2023Updated 2 years ago
- Momentum Decoding: Open-ended Text Generation as Graph Exploration☆19Jan 27, 2023Updated 3 years ago
- ☆48Sep 29, 2024Updated last year
- ☆44Oct 1, 2024Updated last year
- ☆98Jun 27, 2024Updated last year
- Code for the ICLR 2024 paper "How to catch an AI liar: Lie detection in black-box LLMs by asking unrelated questions"☆71Jun 19, 2024Updated last year
- Official Code for What Makes and Breaks Safety Fine-tuning? A Mechanistic Study (NeurIPS 2024)☆12Oct 31, 2024Updated last year
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model☆572Jan 28, 2025Updated last year
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆355Jun 13, 2025Updated 8 months ago
- ☆250Feb 22, 2024Updated 2 years ago
- Data Valuation on In-Context Examples (ACL23)☆24Jan 12, 2025Updated last year
- Tools for understanding how transformer predictions are built layer-by-layer☆570Aug 7, 2025Updated 7 months ago
- Official repository for paper "Versatile Offline Imitation from Observations and Examples via Regularized State-Occupancy Matching" (ICML…☆28Jan 12, 2023Updated 3 years ago
- This is a repository for "PMET: Precise Model Editing in a Transformer"☆55Sep 28, 2023Updated 2 years ago
- How do transformer LMs encode relations?☆56Feb 24, 2024Updated 2 years ago
- ☆12Jul 8, 2023Updated 2 years ago
- Counterfactual Evaluation and Learning for Interactive Systems: Foundations, Implementations, and Recent Advances☆12Aug 14, 2022Updated 3 years ago
- Official repository for ACL 2025 paper "Model Extrapolation Expedites Alignment"☆75May 20, 2025Updated 9 months ago
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆171Updated this week
- Representation Engineering: A Top-Down Approach to AI Transparency☆957Aug 14, 2024Updated last year
- Personalized Soups: Personalized Large Language Model Alignment via Post-hoc Parameter Merging☆118Oct 23, 2023Updated 2 years ago
- Code to reproduce key results accompanying "SAEs (usually) Transfer Between Base and Chat Models"☆13Jul 18, 2024Updated last year
- Providing the answer to "How to do patching on all available SAEs on GPT-2?". It is an official repository of the implementation of the p…☆13Jan 26, 2025Updated last year