How do transformer LMs encode relations?
☆56Feb 24, 2024Updated 2 years ago
Alternatives and similar repositories for relations
Users that are interested in relations are comparing it to the libraries listed below
Sorting:
- Linear Relational Embeddings (LREs) and Linear Relational Concepts (LRCs) for LLMs in PyTorch☆10Aug 7, 2024Updated last year
- Code for my NeurIPS 2024 ATTRIB paper titled "Attribution Patching Outperforms Automated Circuit Discovery"☆47May 31, 2024Updated last year
- ☆250Feb 22, 2024Updated 2 years ago
- ☆271Oct 1, 2024Updated last year
- ☆25Feb 20, 2026Updated last week
- [ICLR 2024] Unveiling the Pitfalls of Knowledge Editing for Large Language Models☆22Jun 13, 2024Updated last year
- MishformerLens intends to be a drop-in replacement for TransformerLens that AST patches HuggingFace Transformers rather than implementing…☆10Oct 7, 2024Updated last year
- This repository contains the code used for the experiments in the paper "Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity…☆30Oct 27, 2025Updated 4 months ago
- [ICML 2024] Code release for "On the Emergence of Cross-Task Linearity in Pretraining-Finetuning Paradigm"☆11Feb 20, 2025Updated last year
- Code for the "Overcoming Sparsity Artifacts in Crosscoders to Interpret Chat-Tuning" paper.☆16Nov 21, 2025Updated 3 months ago
- ☆12Jul 8, 2023Updated 2 years ago
- ☆29Apr 30, 2024Updated last year
- ☆17Jul 9, 2025Updated 7 months ago
- A tiny easily hackable implementation of a feature dashboard.☆15Oct 21, 2025Updated 4 months ago
- Attribution-based Parameter Decomposition☆34Jun 11, 2025Updated 8 months ago
- ☆140Aug 4, 2024Updated last year
- [NeurIPS2024] Fast T2T: Optimization Consistency Speeds Up Diffusion-Based Training-to-Testing Solving for Combinatorial Optimization; [N…☆21Jul 2, 2025Updated 8 months ago
- Collection of Reverse Engineering in Large Model☆36Jan 8, 2025Updated last year
- ☆38Oct 3, 2023Updated 2 years ago
- The nnsight package enables interpreting and manipulating the internals of deep learned models.☆825Updated this week
- ☆23Jun 30, 2025Updated 8 months ago
- Engine for collecting, uploading, and downloading model activations☆26Apr 2, 2025Updated 11 months ago
- ☆113Feb 11, 2025Updated last year
- Repository for PURE: Turning Polysemantic Neurons Into Pure Features by Identifying Relevant Circuits, accepted at CVPR 2024 XAI4CV Works…☆20May 29, 2024Updated last year
- ☆17Nov 7, 2023Updated 2 years ago
- A library for mechanistic anomaly detection☆22Jan 9, 2025Updated last year
- TACL 2025: Investigating Adversarial Trigger Transfer in Large Language Models☆19Aug 17, 2025Updated 6 months ago
- PyTorch and NNsight implementation of AtP* (Kramar et al 2024, DeepMind)☆20Jan 19, 2025Updated last year
- ☆27Nov 28, 2024Updated last year
- ☆32Feb 15, 2026Updated 2 weeks ago
- Erasing conceptual knowledge from language models through low-rank fine-tuning☆19Mar 27, 2025Updated 11 months ago
- Locating and editing factual associations in GPT (NeurIPS 2022)☆730Apr 20, 2024Updated last year
- Function Vectors in Large Language Models (ICLR 2024)☆192Apr 17, 2025Updated 10 months ago
- ☆83Feb 25, 2025Updated last year
- Mass-editing thousands of facts into a transformer memory (ICLR 2023)☆541Jan 31, 2024Updated 2 years ago
- Training Sparse Autoencoders on Language Models☆1,219Updated this week
- A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity.☆85Mar 7, 2025Updated 11 months ago
- This is a repository for "PMET: Precise Model Editing in a Transformer"☆55Sep 28, 2023Updated 2 years ago
- ☆396Aug 21, 2025Updated 6 months ago