Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering
☆202Feb 13, 2025Updated last year
Alternatives and similar repositories for ICV
Users that are interested in ICV are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- 【NeurIPS 2024】The implementation of LIVE: Learnable In-Context Vector for Visual Question Answering https://arxiv.org/abs/2406.13185☆23May 31, 2025Updated last year
- ☆106Oct 30, 2023Updated 2 years ago
- Function Vectors in Large Language Models (ICLR 2024)☆200Apr 30, 2026Updated 3 months ago
- ☆12Jul 4, 2024Updated 2 years ago
- ☆257Feb 22, 2024Updated 2 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- ☆13Jan 14, 2025Updated last year
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆106Sep 21, 2023Updated 2 years ago
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model☆581Jan 28, 2025Updated last year
- Steering Llama 2 with Contrastive Activation Addition☆249May 23, 2024Updated 2 years ago
- Steer LLM outputs towards a certain topic/subject and enhance response capabilities using activation engineering by adding steering vecto…☆280Jan 10, 2026Updated 7 months ago
- PaCE: Parsimonious Concept Engineering for Large Language Models (NeurIPS 2024)☆43Jan 18, 2026Updated 6 months ago
- Improving Alignment and Robustness with Circuit Breakers☆267Sep 24, 2024Updated last year
- Dialogue Action Tokens: Steering Language Models in Goal-Directed Dialogue with a Multi-Turn Planner☆31Jun 27, 2024Updated 2 years ago
- ☆45Mar 3, 2026Updated 5 months ago
- 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.
- A resource repository for representation engineering in large language models☆156Nov 14, 2024Updated last year
- "In-Context Unlearning: Language Models as Few Shot Unlearners". Martin Pawelczyk, Seth Neel* and Himabindu Lakkaraju*; ICML 2024.☆31Oct 18, 2023Updated 2 years ago
- Official implementation for the paper "DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models"☆558Jul 12, 2026Updated last month
- Repository for Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learning☆168Feb 6, 2024Updated 2 years ago
- [ICLR 2025] General-purpose activation steering library☆181Sep 18, 2025Updated 10 months ago
- [NeurIPS 2024] Official Code for the Paper "Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learning"☆27Apr 8, 2025Updated last year
- Stanford NLP Python library for Representation Finetuning (ReFT)☆1,577Mar 5, 2026Updated 5 months ago
- ☆18Mar 30, 2025Updated last year
- Materials for "Multi-property Steering of Large Language Models with Dynamic Activation Composition"☆14Nov 22, 2024Updated last year
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Code release for the paper "Style Vectors for Steering Generative Large Language Models", accepted to the Findings of the EACL 2024.☆37Sep 26, 2024Updated last year
- Personalized Steering of Large Language Models: Versatile Steering Vectors Through Bi-directional Preference Optimization☆50Jul 28, 2024Updated 2 years ago
- Stanford NLP Python library for understanding and improving PyTorch models via interventions☆898Mar 6, 2026Updated 5 months ago
- 🐜🔧 A minimalistic tool to fine-tune your LLMs☆19Aug 17, 2023Updated 2 years ago
- Code for our EMNLP '22 paper "Fixing Model Bugs with Natural Language Patches"☆19Dec 7, 2022Updated 3 years ago
- Code for 'The Geometry of Categorical and Hierarchical Concepts in Large Language Models' (ICLR 2025, Oral)☆116Feb 11, 2025Updated last year
- A library for making RepE control vectors☆753Sep 24, 2025Updated 10 months ago
- Code & Data for our Paper "Alleviating Hallucinations of Large Language Models through Induced Hallucinations"☆71Feb 27, 2024Updated 2 years ago
- ☆47Feb 8, 2024Updated 2 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- ☆75Apr 13, 2025Updated last year
- [WIP] [NeurIPS 2025 Spotlight] Angular Steering: Behavior Control via Rotation in Activation Space☆25May 25, 2026Updated 2 months ago
- Self-Supervised Alignment with Mutual Information☆20May 24, 2024Updated 2 years ago
- Algebraic value editing in pretrained language models☆71Nov 1, 2023Updated 2 years ago
- Representation Engineering: A Top-Down Approach to AI Transparency☆1,021Aug 14, 2024Updated 2 years ago
- ☆14Jun 24, 2024Updated 2 years ago
- Restore safety in fine-tuned language models through task arithmetic☆33Mar 28, 2024Updated 2 years ago