msakarvadia / AttentionLens
Interpretating the latent space representations of attention head outputs for LLMs
☆32Updated 9 months ago
Alternatives and similar repositories for AttentionLens
Users that are interested in AttentionLens are comparing it to the libraries listed below
Sorting:
- ☆28Updated 2 months ago
- ☆38Updated last week
- Open source replication of Anthropic's Crosscoders for Model Diffing☆55Updated 6 months ago
- This repository contains the code used for the experiments in the paper "Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity…☆25Updated last year
- ☆14Updated last year
- ☆82Updated 9 months ago
- ☆9Updated 3 weeks ago
- ☆24Updated 3 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆73Updated 6 months ago
- Official Implementation of "DeCoRe: Decoding by Contrasting Retrieval Heads to Mitigate Hallucination"☆24Updated 4 months ago
- ☆41Updated 5 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
- ☆22Updated 3 months ago
- The accompanying code for "Transformer Feed-Forward Layers Are Key-Value Memories". Mor Geva, Roei Schuster, Jonathan Berant, and Omer Le…☆91Updated 3 years ago
- Skill-It! A Data-Driven Skills Framework for Understanding and Training Language Models☆46Updated last year
- Self-Supervised Alignment with Mutual Information☆18Updated 11 months ago
- A library for efficient patching and automatic circuit discovery.☆64Updated 3 weeks ago
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆79Updated last month
- ☆33Updated 4 months ago
- Sparse Autoencoder Training Library☆49Updated 2 weeks ago
- Code and Data Repo for the CoNLL Paper -- Future Lens: Anticipating Subsequent Tokens from a Single Hidden State☆18Updated last year
- ☆35Updated last year
- Simple and scalable tools for data-driven pretraining data selection.☆23Updated 3 months ago
- Investigating the generalization behavior of LM probes trained to predict truth labels: (1) from one annotator to another, and (2) from e…☆26Updated 11 months ago
- Code for the EMNLP24 paper "A simple and effective L2 norm based method for KV Cache compression."☆12Updated 5 months ago
- ☆33Updated 2 weeks ago
- Codebase for Inference-Time Policy Adapters☆23Updated last year
- Sparse probing paper full code.☆56Updated last year
- nanoGPT-like codebase for LLM training☆94Updated last month
- [ACL 2024] Self-Training with Direct Preference Optimization Improves Chain-of-Thought Reasoning☆44Updated 9 months ago