shengliu66 / ICVLinks
Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering
☆189Updated 7 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☆157Updated 7 months ago
- Function Vectors in Large Language Models (ICLR 2024)☆180Updated 5 months ago
- Stanford NLP Python library for benchmarking the utility of LLM interpretability methods☆134Updated 3 months ago
- PASTA: Post-hoc Attention Steering for LLMs☆123Updated 10 months ago
- Steering Llama 2 with Contrastive Activation Addition☆182Updated last year
- ☆97Updated last year
- Official Code Repository for LM-Steer Paper: "Word Embeddings Are Steers for Language Models" (ACL 2024 Outstanding Paper Award)☆124Updated 2 months ago
- Code associated with Tuning Language Models by Proxy (Liu et al., 2024)☆120Updated last year
- [ICLR 2025] General-purpose activation steering library☆107Updated 2 weeks ago
- ☆192Updated last year
- Code for the EMNLP 2024 paper "Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Maps"☆131Updated last year
- Steering vectors for transformer language models in Pytorch / Huggingface☆125Updated 7 months ago
- Codes and datasets for the paper Measuring and Enhancing Trustworthiness of LLMs in RAG through Grounded Attributions and Learning to Ref…☆66Updated 7 months ago
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆63Updated 10 months ago
- Public code repo for paper "SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationales"☆108Updated last year
- This repository contains the code and data for the paper "SelfIE: Self-Interpretation of Large Language Model Embeddings" by Haozhe Chen,…☆51Updated 9 months ago
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆275Updated 3 months ago
- ☆192Updated 5 months ago
- Code release for "Debating with More Persuasive LLMs Leads to More Truthful Answers"☆117Updated last year
- The Paper List on Data Contamination for Large Language Models Evaluation.☆100Updated last month
- AI Logging for Interpretability and Explainability🔬☆128Updated last year
- Benchmarking LLMs with Challenging Tasks from Real Users☆241Updated 11 months ago
- ☆99Updated 10 months ago
- [ACL'25 Oral] What Happened in LLMs Layers when Trained for Fast vs. Slow Thinking: A Gradient Perspective☆74Updated 3 months ago
- Codebase for reproducing the experiments of the semantic uncertainty paper (paragraph-length experiments).☆69Updated last year
- Code accompanying "How I learned to start worrying about prompt formatting".☆111Updated 3 months ago
- ☆52Updated 5 months ago
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".☆216Updated 2 months ago
- LoFiT: Localized Fine-tuning on LLM Representations☆41Updated 8 months ago
- ☆91Updated last year