google / belief-localizationLinks
This repository includes code for the paper "Does Localization Inform Editing? Surprising Differences in Where Knowledge Is Stored vs. Can Be Injected in Language Models."
☆61Updated 2 years ago
Alternatives and similar repositories for belief-localization
Users that are interested in belief-localization are comparing it to the libraries listed below
Sorting:
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆99Updated 4 years ago
- Inspecting and Editing Knowledge Representations in Language Models☆119Updated 2 years ago
- ☆22Updated 2 years ago
- Repo accompanying our paper "Do Llamas Work in English? On the Latent Language of Multilingual Transformers".☆80Updated last year
- ☆67Updated 2 years ago
- Synthetic question-answering dataset to formally analyze the chain-of-thought output of large language models on a reasoning task.☆151Updated 2 months ago
- [NeurIPS'23] Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors☆82Updated 10 months ago
- ☆44Updated last year
- ☆101Updated 2 years ago
- ☆92Updated last year
- Semi-Parametric Editing with a Retrieval-Augmented Counterfactual Model☆68Updated 3 years ago
- Algebraic value editing in pretrained language models☆66Updated 2 years ago
- A library for efficient patching and automatic circuit discovery.☆79Updated 3 months ago
- Evaluate interpretability methods on localizing and disentangling concepts in LLMs.☆56Updated 2 weeks ago
- PASTA: Post-hoc Attention Steering for LLMs☆127Updated 11 months ago
- ☆113Updated 3 years ago
- Grade-School Math with Irrelevant Context (GSM-IC) benchmark is an arithmetic reasoning dataset built upon GSM8K, by adding irrelevant se…☆64Updated 2 years ago
- Code for the paper "A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysis"☆19Updated 5 months ago
- datasets from the paper "Towards Understanding Sycophancy in Language Models"☆94Updated 2 years ago
- [NeurIPS 2024 Spotlight] Code and data for the paper "Finding Transformer Circuits with Edge Pruning".☆61Updated 3 months ago
- 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…☆12Updated 9 months ago
- ☆16Updated last year
- Function Vectors in Large Language Models (ICLR 2024)☆183Updated 6 months ago
- Code for the ICLR 2024 paper "How to catch an AI liar: Lie detection in black-box LLMs by asking unrelated questions"☆71Updated last year
- [NeurIPS 2023 D&B Track] Code and data for paper "Revisiting Out-of-distribution Robustness in NLP: Benchmarks, Analysis, and LLMs Evalua…☆35Updated 2 years ago
- A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity.☆83Updated 8 months ago
- ☆60Updated 3 months ago
- [ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.☆103Updated 2 years ago
- ☆29Updated last year
- This repository contains data, code and models for contextual noncompliance.☆24Updated last year