Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering
☆198Feb 13, 2025Updated last year
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)☆192Apr 17, 2025Updated 10 months ago
- ☆105Oct 30, 2023Updated 2 years ago
- 【NeurIPS 2024】The implementation of LIVE: Learnable In-Context Vector for Visual Question Answering https://arxiv.org/abs/2406.13185☆22May 31, 2025Updated 9 months ago
- Steering Llama 2 with Contrastive Activation Addition☆213May 23, 2024Updated last year
- ☆250Feb 22, 2024Updated 2 years ago
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆102Sep 21, 2023Updated 2 years ago
- [ICLR 2025] General-purpose activation steering library☆145Sep 18, 2025Updated 5 months ago
- Measuring and Controlling Persona Drift in Language Model Dialogs☆21Feb 26, 2024Updated 2 years ago
- Personalized Steering of Large Language Models: Versatile Steering Vectors Through Bi-directional Preference Optimization☆42Jul 28, 2024Updated last year
- Dialogue Action Tokens: Steering Language Models in Goal-Directed Dialogue with a Multi-Turn Planner☆31Jun 27, 2024Updated last year
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model☆572Jan 28, 2025Updated last year
- Steer LLM outputs towards a certain topic/subject and enhance response capabilities using activation engineering by adding steering vecto…☆270Jan 10, 2026Updated last month
- Self-Supervised Alignment with Mutual Information☆20May 24, 2024Updated last year
- Official implementation for the paper "DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models"☆544Jan 17, 2025Updated last year
- A library for making RepE control vectors☆691Sep 24, 2025Updated 5 months ago
- PaCE: Parsimonious Concept Engineering for Large Language Models (NeurIPS 2024)☆42Jan 18, 2026Updated last month
- Improving Alignment and Robustness with Circuit Breakers☆258Sep 24, 2024Updated last year
- Steering vectors for transformer language models in Pytorch / Huggingface☆140Feb 21, 2025Updated last year
- A resource repository for representation engineering in large language models☆148Nov 14, 2024Updated last year
- Stanford NLP Python library for understanding and improving PyTorch models via interventions☆866Updated this week
- Stanford NLP Python library for Representation Finetuning (ReFT)☆1,560Jan 14, 2026Updated last month
- ☆117Feb 11, 2025Updated last year
- ☆27Aug 30, 2023Updated 2 years ago
- Toolkit for attaching, training, saving and loading of new heads for transformer models☆294Feb 12, 2026Updated 3 weeks ago
- Repository for Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learning☆168Feb 6, 2024Updated 2 years ago
- Algebraic value editing in pretrained language models☆69Nov 1, 2023Updated 2 years ago
- Code release for the paper "Style Vectors for Steering Generative Large Language Models", accepted to the Findings of the EACL 2024.☆36Sep 26, 2024Updated last year
- Llemma formal2formal (tactic prediction) theorem proving experiments☆20Oct 17, 2023Updated 2 years ago
- Analyzing LLM Alignment via Token distribution shift☆17Jan 26, 2024Updated 2 years ago
- 🐜🔧 A minimalistic tool to fine-tune your LLMs☆18Aug 17, 2023Updated 2 years ago
- Code & Data for our Paper "Alleviating Hallucinations of Large Language Models through Induced Hallucinations"☆69Feb 27, 2024Updated 2 years ago
- ☆46Feb 8, 2024Updated 2 years ago
- ☆45Updated this week
- ☆49May 13, 2024Updated last year
- Understanding the correlation between different LLM benchmarks☆29Jan 11, 2024Updated 2 years ago
- a lightweight, open-source blueprint for building powerful and scalable LLM chat applications☆28Jun 7, 2024Updated last year
- Accompanying code for "Boosted Prompt Ensembles for Large Language Models"☆30Apr 13, 2023Updated 2 years ago
- The nnsight package enables interpreting and manipulating the internals of deep learned models.☆836Updated this week
- Representation Engineering: A Top-Down Approach to AI Transparency☆953Aug 14, 2024Updated last year