msakarvadia / AttentionLensLinks
Interpretating the latent space representations of attention head outputs for LLMs
☆34Updated last year
Alternatives and similar repositories for AttentionLens
Users that are interested in AttentionLens are comparing it to the libraries listed below
Sorting:
- ☆45Updated last year
- ☆28Updated 7 months ago
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆96Updated 4 years ago
- Open source replication of Anthropic's Crosscoders for Model Diffing☆59Updated 10 months ago
- Official code repo for paper "Great Memory, Shallow Reasoning: Limits of kNN-LMs"☆23Updated 4 months ago
- This repository includes code for the paper "Does Localization Inform Editing? Surprising Differences in Where Knowledge Is Stored vs. Ca…☆61Updated 2 years ago
- A library for efficient patching and automatic circuit discovery.☆76Updated last month
- A Kernel-Based View of Language Model Fine-Tuning https://arxiv.org/abs/2210.05643☆78Updated 2 years ago
- This repository contains the code used for the experiments in the paper "Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity…☆28Updated last year
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆83Updated 10 months ago
- ☆23Updated 7 months ago
- Offcial Repo of Paper "Eliminating Position Bias of Language Models: A Mechanistic Approach""☆16Updated 3 months ago
- Self-Supervised Alignment with Mutual Information☆21Updated last year
- Evaluate interpretability methods on localizing and disentangling concepts in LLMs.☆54Updated 11 months ago
- Simple and scalable tools for data-driven pretraining data selection.☆27Updated 3 months ago
- ☆15Updated last year
- ☆22Updated 5 months ago
- ☆28Updated 6 months ago
- ☆91Updated last year
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆47Updated last year
- Code Release for "Broken Neural Scaling Laws" (BNSL) paper☆59Updated last year
- Code to reproduce key results accompanying "SAEs (usually) Transfer Between Base and Chat Models"☆12Updated last year
- ☆54Updated 2 years ago
- Investigating the generalization behavior of LM probes trained to predict truth labels: (1) from one annotator to another, and (2) from e…☆28Updated last year
- Implementation of Influence Function approximations for differently sized ML models, using PyTorch☆15Updated 2 years ago
- Universal Neurons in GPT2 Language Models☆30Updated last year
- Code for the ICLR 2024 paper "How to catch an AI liar: Lie detection in black-box LLMs by asking unrelated questions"☆72Updated last year
- Codebase for Context-aware Meta-learned Loss Scaling (CaMeLS). https://arxiv.org/abs/2305.15076.☆25Updated last year
- ☆31Updated last year
- ☆107Updated 7 months ago