shengliu66 / ICVLinks
Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering
☆177Updated 4 months ago
Alternatives and similar repositories for ICV
Users that are interested in ICV are comparing it to the libraries listed below
Sorting:
- [NeurIPS 2024] Knowledge Circuits in Pretrained Transformers☆148Updated 4 months ago
- Code for the EMNLP 2024 paper "Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Maps"☆127Updated 10 months ago
- ☆95Updated last year
- General-purpose activation steering library☆78Updated last month
- Function Vectors in Large Language Models (ICLR 2024)☆170Updated 2 months ago
- Codes and datasets for the paper Measuring and Enhancing Trustworthiness of LLMs in RAG through Grounded Attributions and Learning to Ref…☆60Updated 3 months ago
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆95Updated 2 weeks ago
- ☆183Updated last year
- ☆150Updated last year
- Steering Llama 2 with Contrastive Activation Addition☆158Updated last year
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆60Updated 6 months ago
- Codebase for reproducing the experiments of the semantic uncertainty paper (paragraph-length experiments).☆63Updated last year
- Public code repo for paper "SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationales"☆106Updated 8 months ago
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆233Updated last week
- [NeurIPS'23] Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors☆77Updated 6 months ago
- For OpenMOSS Mechanistic Interpretability Team's Sparse Autoencoder (SAE) research.☆121Updated this week
- PASTA: Post-hoc Attention Steering for LLMs☆118Updated 7 months ago
- AI Logging for Interpretability and Explainability🔬☆123Updated last year
- Code associated with Tuning Language Models by Proxy (Liu et al., 2024)☆112Updated last year
- Official Code Repository for LM-Steer Paper: "Word Embeddings Are Steers for Language Models" (ACL 2024 Outstanding Paper Award)☆114Updated 8 months ago
- ☆36Updated 5 months ago
- Code accompanying "How I learned to start worrying about prompt formatting".☆105Updated 2 weeks ago
- LoFiT: Localized Fine-tuning on LLM Representations☆39Updated 5 months ago
- The Paper List on Data Contamination for Large Language Models Evaluation.☆95Updated 2 months ago
- Steering vectors for transformer language models in Pytorch / Huggingface☆108Updated 4 months ago
- [ACL'25] What Happened in LLMs Layers when Trained for Fast vs. Slow Thinking: A Gradient Perspective☆64Updated last week
- ☆85Updated 7 months ago
- ☆51Updated 2 months ago
- Steer LLM outputs towards a certain topic/subject and enhance response capabilities using activation engineering by adding steering vecto…☆239Updated 4 months ago
- [NAACL 2024 Outstanding Paper] Source code for the NAACL 2024 paper entitled "R-Tuning: Instructing Large Language Models to Say 'I Don't…☆114Updated 11 months ago