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…☆93Updated 3 years ago
- ☆44Updated 9 months ago
- Repo accompanying our paper "Do Llamas Work in English? On the Latent Language of Multilingual Transformers".☆78Updated last year
- ☆35Updated last month
- Tasks for describing differences between text distributions.☆16Updated 10 months ago
- ☆22Updated 2 years ago
- Augmenting Statistical Models with Natural Language Parameters☆27Updated 9 months ago
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆60Updated 6 months ago
- ☆28Updated last year
- Inspecting and Editing Knowledge Representations in Language Models☆116Updated last year
- How do transformer LMs encode relations?☆48Updated last year
- [ICML 2023] Code for our paper “Compositional Exemplars for In-context Learning”.☆101Updated 2 years ago
- AbstainQA, ACL 2024☆26Updated 8 months ago
- ☆95Updated last year
- This repository contains data, code and models for contextual noncompliance.☆23Updated 11 months ago
- [NeurIPS'23] Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors☆77Updated 6 months ago
- ☆85Updated 10 months ago
- Repo for: When to Make Exceptions: Exploring Language Models as Accounts of Human Moral Judgment☆38Updated 2 years ago
- Code and data for paper "Context-faithful Prompting for Large Language Models".☆40Updated 2 years ago
- [EMNLP-2022 Findings] Code for paper “ProGen: Progressive Zero-shot Dataset Generation via In-context Feedback”.☆26Updated 2 years ago
- Few-shot Learning with Auxiliary Data☆28Updated last year
- Evaluate the Quality of Critique☆35Updated last year
- Reference implementation for Reward-Augmented Decoding: Efficient Controlled Text Generation With a Unidirectional Reward Model☆43Updated last year
- Code for the paper "A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysis"☆18Updated last week
- Code for "Tracing Knowledge in Language Models Back to the Training Data"☆38Updated 2 years ago
- ☆86Updated 2 years ago
- Supporting code for ReCEval paper☆28Updated 9 months ago
- Semi-Parametric Editing with a Retrieval-Augmented Counterfactual Model☆68Updated 2 years ago
- Discriminator-Guided Chain-of-Thought Reasoning☆48Updated 8 months ago
- Github repository for "FELM: Benchmarking Factuality Evaluation of Large Language Models" (NeurIPS 2023)☆59Updated last year