shengliu66 / ICVLinks
Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering
☆182Updated 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☆151Updated 5 months ago
- Function Vectors in Large Language Models (ICLR 2024)☆175Updated 3 months ago
- Code associated with Tuning Language Models by Proxy (Liu et al., 2024)☆114Updated last year
- Codes and datasets for the paper Measuring and Enhancing Trustworthiness of LLMs in RAG through Grounded Attributions and Learning to Ref…☆62Updated 5 months ago
- PASTA: Post-hoc Attention Steering for LLMs☆122Updated 8 months ago
- [ICLR 2025] General-purpose activation steering library☆87Updated last week
- Public code repo for paper "SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationales"☆108Updated 10 months ago
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆112Updated last month
- ☆96Updated last year
- Steering Llama 2 with Contrastive Activation Addition☆167Updated last year
- ☆185Updated last year
- ☆91Updated 8 months ago
- Official Code Repository for LM-Steer Paper: "Word Embeddings Are Steers for Language Models" (ACL 2024 Outstanding Paper Award)☆123Updated 3 weeks ago
- ☆187Updated 3 months ago
- Code for the EMNLP 2024 paper "Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Maps"☆129Updated 11 months ago
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".☆207Updated 2 months ago
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆62Updated 8 months ago
- Steering vectors for transformer language models in Pytorch / Huggingface☆119Updated 5 months ago
- Codebase for reproducing the experiments of the semantic uncertainty paper (paragraph-length experiments).☆67Updated last year
- ☆37Updated 6 months ago
- Code accompanying "How I learned to start worrying about prompt formatting".☆107Updated last month
- This repository contains the code and data for the paper "SelfIE: Self-Interpretation of Large Language Model Embeddings" by Haozhe Chen,…☆50Updated 7 months ago
- AI Logging for Interpretability and Explainability🔬☆124Updated last year
- Benchmarking LLMs with Challenging Tasks from Real Users☆233Updated 9 months ago
- Improving Alignment and Robustness with Circuit Breakers☆225Updated 10 months ago
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆249Updated last month
- ☆34Updated last year
- [NAACL 2024 Outstanding Paper] Source code for the NAACL 2024 paper entitled "R-Tuning: Instructing Large Language Models to Say 'I Don't…☆114Updated last year
- LoFiT: Localized Fine-tuning on LLM Representations☆39Updated 6 months ago
- Repo accompanying our paper "Do Llamas Work in English? On the Latent Language of Multilingual Transformers".☆78Updated last year