Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering
☆200Feb 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
- Function Vectors in Large Language Models (ICLR 2024)☆198Apr 30, 2026Updated 2 months ago
- ☆106Oct 30, 2023Updated 2 years ago
- ☆12Jul 4, 2024Updated 2 years ago
- [ICLR 2025] General-purpose activation steering library☆178Sep 18, 2025Updated 9 months ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Steering Llama 2 with Contrastive Activation Addition☆239May 23, 2024Updated 2 years ago
- ☆253Feb 22, 2024Updated 2 years ago
- Personalized Steering of Large Language Models: Versatile Steering Vectors Through Bi-directional Preference Optimization☆47Jul 28, 2024Updated last year
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆103Sep 21, 2023Updated 2 years ago
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model☆581Jan 28, 2025Updated last year
- Steer LLM outputs towards a certain topic/subject and enhance response capabilities using activation engineering by adding steering vecto…☆280Jan 10, 2026Updated 5 months ago
- Improving Alignment and Robustness with Circuit Breakers☆264Sep 24, 2024Updated last year
- PaCE: Parsimonious Concept Engineering for Large Language Models (NeurIPS 2024)☆43Jan 18, 2026Updated 5 months ago
- Dialogue Action Tokens: Steering Language Models in Goal-Directed Dialogue with a Multi-Turn Planner☆31Jun 27, 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.
- A resource repository for representation engineering in large language models☆155Nov 14, 2024Updated last year
- ☆45Mar 3, 2026Updated 4 months ago
- Analyzing LLM Alignment via Token distribution shift☆17Jan 26, 2024Updated 2 years ago
- Official implementation for the paper "DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models"☆555Jan 17, 2025Updated last year
- Code & Data for our Paper "Alleviating Hallucinations of Large Language Models through Induced Hallucinations"☆70Feb 27, 2024Updated 2 years ago
- Repository for Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learning☆168Feb 6, 2024Updated 2 years ago
- ☆13Jan 14, 2025Updated last year
- ☆18Mar 30, 2025Updated last year
- Stanford NLP Python library for Representation Finetuning (ReFT)☆1,571Mar 5, 2026Updated 4 months 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.
- Code for 'The Linear Representation Hypothesis and the Geometry of Large Language Models' (ICML 2024)☆124Feb 11, 2025Updated last year
- Materials for "Multi-property Steering of Large Language Models with Dynamic Activation Composition"☆14Nov 22, 2024Updated last year
- Stanford NLP Python library for understanding and improving PyTorch models via interventions☆888Mar 6, 2026Updated 4 months ago
- 🐜🔧 A minimalistic tool to fine-tune your LLMs☆19Aug 17, 2023Updated 2 years ago
- Measuring and Controlling Persona Drift in Language Model Dialogs☆25Feb 26, 2024Updated 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)☆115Feb 11, 2025Updated last year
- A library for making RepE control vectors☆738Sep 24, 2025Updated 9 months ago
- ☆47Feb 8, 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.
- ☆75Apr 13, 2025Updated last year
- Restore safety in fine-tuned language models through task arithmetic☆33Mar 28, 2024Updated 2 years ago
- Code for the paper "Spectral Editing of Activations for Large Language Model Alignments"☆31Dec 20, 2024Updated last year
- [ACL 2025] The official code for "AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detection".☆42Aug 4, 2025Updated 11 months ago
- "In-Context Unlearning: Language Models as Few Shot Unlearners". Martin Pawelczyk, Seth Neel* and Himabindu Lakkaraju*; ICML 2024.☆30Oct 18, 2023Updated 2 years ago
- WMDP is a LLM proxy benchmark for hazardous knowledge in bio, cyber, and chemical security. We also release code for RMU, an unlearning m…☆175May 29, 2025Updated last year
- [CVPR'25] Official code of paper "Mimic In-Context Learning for Multimodal Tasks"☆26May 21, 2026Updated last month