shengliu66 / ICVLinks
Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering
☆180Updated 5 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☆149Updated 4 months ago
- PASTA: Post-hoc Attention Steering for LLMs☆121Updated 7 months ago
- Function Vectors in Large Language Models (ICLR 2024)☆170Updated 2 months ago
- Public code repo for paper "SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationales"☆107Updated 9 months ago
- ☆95Updated last year
- General-purpose activation steering library☆83Updated 2 months ago
- Code associated with Tuning Language Models by Proxy (Liu et al., 2024)☆114Updated last year
- Steering Llama 2 with Contrastive Activation Addition☆162Updated last year
- ☆183Updated last year
- Code for the EMNLP 2024 paper "Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Maps"☆128Updated 11 months ago
- AI Logging for Interpretability and Explainability🔬☆124Updated last year
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆238Updated last month
- Code release for "Debating with More Persuasive LLMs Leads to More Truthful Answers"☆112Updated last year
- Official Code Repository for LM-Steer Paper: "Word Embeddings Are Steers for Language Models" (ACL 2024 Outstanding Paper Award)☆118Updated 9 months ago
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆99Updated 2 weeks ago
- ☆181Updated 2 months ago
- ☆135Updated 8 months ago
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆60Updated 7 months ago
- Benchmarking LLMs with Challenging Tasks from Real Users☆228Updated 8 months ago
- ☆34Updated last year
- Codes and datasets for the paper Measuring and Enhancing Trustworthiness of LLMs in RAG through Grounded Attributions and Learning to Ref…☆61Updated 4 months ago
- For OpenMOSS Mechanistic Interpretability Team's Sparse Autoencoder (SAE) research.☆135Updated this week
- Code accompanying "How I learned to start worrying about prompt formatting".☆106Updated last month
- Critique-out-Loud Reward Models☆67Updated 8 months ago
- Repo accompanying our paper "Do Llamas Work in English? On the Latent Language of Multilingual Transformers".☆78Updated last year
- Steering vectors for transformer language models in Pytorch / Huggingface☆112Updated 4 months ago
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".☆206Updated last month
- Improving Alignment and Robustness with Circuit Breakers☆218Updated 9 months ago
- ☆87Updated 8 months ago
- The Paper List on Data Contamination for Large Language Models Evaluation.☆95Updated 3 months ago