shengliu66 / ICVLinks
Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering
☆185Updated 7 months ago
Alternatives and similar repositories for ICV
Users that are interested in ICV are comparing it to the libraries listed below
Sorting:
- Function Vectors in Large Language Models (ICLR 2024)☆179Updated 4 months ago
- [NeurIPS 2024] Knowledge Circuits in Pretrained Transformers☆155Updated 6 months ago
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆128Updated 2 months ago
- Code release for "Debating with More Persuasive LLMs Leads to More Truthful Answers"☆116Updated last year
- ☆189Updated last year
- PASTA: Post-hoc Attention Steering for LLMs☆122Updated 9 months ago
- ☆97Updated last year
- [ICLR 2025] General-purpose activation steering library☆102Updated 2 weeks ago
- Code for the EMNLP 2024 paper "Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Maps"☆130Updated last year
- Code associated with Tuning Language Models by Proxy (Liu et al., 2024)☆118Updated last year
- Steering Llama 2 with Contrastive Activation Addition☆180Updated last year
- ☆190Updated 4 months ago
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆63Updated 9 months ago
- This repository contains the code and data for the paper "SelfIE: Self-Interpretation of Large Language Model Embeddings" by Haozhe Chen,…☆51Updated 9 months ago
- ☆37Updated 7 months ago
- Codebase for reproducing the experiments of the semantic uncertainty paper (paragraph-length experiments).☆69Updated last year
- AI Logging for Interpretability and Explainability🔬☆126Updated last year
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".☆215Updated last month
- Official Code Repository for LM-Steer Paper: "Word Embeddings Are Steers for Language Models" (ACL 2024 Outstanding Paper Award)☆125Updated 2 months ago
- Steering vectors for transformer language models in Pytorch / Huggingface☆123Updated 6 months ago
- ☆34Updated 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
- ☆135Updated 10 months ago
- [NeurIPS 2023] This is the code for the paper `Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Bias`.☆153Updated last year
- ☆98Updated 10 months ago
- Public code repo for paper "SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationales"☆110Updated 11 months ago
- LoFiT: Localized Fine-tuning on LLM Representations☆41Updated 8 months ago
- Code accompanying "How I learned to start worrying about prompt formatting".☆110Updated 3 months ago
- Benchmarking LLMs with Challenging Tasks from Real Users☆241Updated 10 months ago
- For OpenMOSS Mechanistic Interpretability Team's Sparse Autoencoder (SAE) research.☆146Updated this week