shengliu66 / ICV
Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering
☆169Updated 2 months ago
Alternatives and similar repositories for ICV:
Users that are interested in ICV are comparing it to the libraries listed below
- Code associated with Tuning Language Models by Proxy (Liu et al., 2024)☆108Updated last year
- [NeurIPS 2024] Knowledge Circuits in Pretrained Transformers☆141Updated 2 months ago
- Function Vectors in Large Language Models (ICLR 2024)☆156Updated last month
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".☆196Updated last week
- ☆93Updated last year
- ☆173Updated last year
- AI Logging for Interpretability and Explainability🔬☆111Updated 10 months ago
- Code accompanying "How I learned to start worrying about prompt formatting".☆104Updated 6 months ago
- Codebase for reproducing the experiments of the semantic uncertainty paper (paragraph-length experiments).☆55Updated last year
- Code for the EMNLP 2024 paper "Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Maps"☆120Updated 8 months ago
- Official code for "MAmmoTH2: Scaling Instructions from the Web" [NeurIPS 2024]☆139Updated 5 months ago
- [NAACL'25 Oral] Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering☆53Updated 4 months ago
- PASTA: Post-hoc Attention Steering for LLMs☆113Updated 4 months ago
- ☆70Updated 5 months ago
- ☆165Updated last month
- Code and results accompanying the paper "Refusal in Language Models Is Mediated by a Single Direction".☆208Updated 6 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…☆110Updated 9 months ago
- Code and Data for "Long-context LLMs Struggle with Long In-context Learning" [TMLR2025]☆105Updated 2 months ago
- ☆145Updated last year
- Evaluating LLMs with fewer examples☆150Updated last year
- BRIGHT: A Realistic and Challenging Benchmark for Reasoning-Intensive Retrieval☆96Updated this week
- Code release for "Debating with More Persuasive LLMs Leads to More Truthful Answers"☆103Updated last year
- Benchmarking LLMs with Challenging Tasks from Real Users☆221Updated 5 months ago
- LoFiT: Localized Fine-tuning on LLM Representations☆35Updated 3 months ago
- Official Code Repository for LM-Steer Paper: "Word Embeddings Are Steers for Language Models" (ACL 2024 Outstanding Paper Award)☆97Updated 6 months ago
- [ICLR'25] Data and code for our paper "Why Does the Effective Context Length of LLMs Fall Short?"☆73Updated 4 months ago
- Steering vectors for transformer language models in Pytorch / Huggingface☆94Updated last month
- Public code repo for paper "SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationales"☆104Updated 6 months ago
- For OpenMOSS Mechanistic Interpretability Team's Sparse Autoencoder (SAE) research.☆108Updated last week
- ☆36Updated 3 months ago