How do transformer LMs encode relations?
☆59Feb 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Linear Relational Embeddings (LREs) and Linear Relational Concepts (LRCs) for LLMs in PyTorch☆11Aug 7, 2024Updated 2 years ago
- ☆258Feb 22, 2024Updated 2 years ago
- Code for my NeurIPS 2024 ATTRIB paper titled "Attribution Patching Outperforms Automated Circuit Discovery"☆52May 31, 2024Updated 2 years ago
- ☆12Jun 5, 2025Updated last year
- Inspecting and Editing Knowledge Representations in Language Models☆119Jul 24, 2023Updated 3 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- ☆302Oct 1, 2024Updated 2 years ago
- Repository for "The Curious Case of Hallucinatory (Un)answerability: Finding Truths in the Hidden States of Over-Confident Large Language…☆12May 16, 2024Updated 2 years ago
- ☆37May 28, 2023Updated 3 years ago
- [ICLR 2024] Unveiling the Pitfalls of Knowledge Editing for Large Language Models☆22Jun 13, 2024Updated 2 years ago
- [ICML 2026] Official repository for the paper "The Cylindrical Representation Hypothesis for Language Model Steering"☆14May 28, 2026Updated 5 months ago
- minimal code to reproduce results from Separating Tongue from Thought: Activation Patching Reveals Language-Agnostic Concept Representati…☆14Sep 25, 2025Updated last year
- MishformerLens intends to be a drop-in replacement for TransformerLens that AST patches HuggingFace Transformers rather than implementing…☆10Oct 7, 2024Updated 2 years ago
- Unified access to Large Language Model modules using NNsight☆124Updated this week
- ☆150Aug 4, 2024Updated 2 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Materials for EACL2024 tutorial: Transformer-specific Interpretability☆66Mar 26, 2024Updated 2 years ago
- Assorted tools and utility functions, mainly for doing NLP with Python☆23Sep 12, 2025Updated last year
- Code for 'The Geometry of Categorical and Hierarchical Concepts in Large Language Models' (ICLR 2025, Oral)☆120Feb 11, 2025Updated last year
- 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…☆14Jan 26, 2025Updated last year
- Improving Steering Vectors by Targeting Sparse Autoencoder Features☆30Nov 20, 2024Updated last year
- ☆29Feb 20, 2026Updated 9 months ago
- Code for the paper "Spectral Editing of Activations for Large Language Model Alignments"☆31Dec 20, 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…☆32Oct 27, 2025Updated last year
- [AAAI 2026] ReCode: Reinforced Code Knowledge Editing for API Updates☆26Jul 1, 2025Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Convert Abstract Meaning Representation (AMR) into first-order logic☆17Aug 7, 2024Updated 2 years ago
- ☆17May 19, 2026Updated 6 months ago
- ☆11Sep 7, 2021Updated 5 years ago
- Collection of Reverse Engineering in Large Model☆35Jan 8, 2025Updated last year
- A library for efficient patching and automatic circuit discovery.☆103Aug 17, 2026Updated 3 months ago
- Interactive Label Cleaning with Example-based Explanations☆11Oct 26, 2021Updated 5 years ago
- ☆225Oct 14, 2025Updated last year
- This repository contains a python script for parsing an xml dump of the Italian Wiktionary (Wikizionario); it also contains the parsed di…☆10Feb 17, 2026Updated 9 months ago
- Tools for understanding how transformer predictions are built layer-by-layer☆622Aug 7, 2025Updated last year
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Implementation of path patching & activation patching (will eventually add to TransformerLens).☆16Jan 8, 2024Updated 2 years ago
- ☆10Oct 14, 2023Updated 3 years ago
- ☆29Apr 30, 2024Updated 2 years ago
- [ICLR 2025] General-purpose activation steering library☆201Nov 4, 2026Updated 2 weeks ago
- Evaluate interpretability methods on localizing and disentangling concepts in LLMs.☆59Oct 30, 2025Updated last year
- A repository to get acquainted with basic training tasks in natural language processing and machine learning☆11Dec 27, 2023Updated 2 years ago
- Code to reproduce key results accompanying "SAEs (usually) Transfer Between Base and Chat Models"☆13Jul 18, 2024Updated 2 years ago
Are these results useful?