Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
☆588Jan 28, 2025Updated last year
Alternatives and similar repositories for honest_llama
Users that are interested in honest_llama are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Official implementation for the paper "DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models"☆560Jul 12, 2026Updated 2 months ago
- ☆258Feb 22, 2024Updated 2 years ago
- Stanford NLP Python library for understanding and improving PyTorch models via interventions☆900Mar 6, 2026Updated 6 months ago
- Code for ACL 2024 paper "TruthX: Alleviating Hallucinations by Editing Large Language Models in Truthful Space"☆145Mar 26, 2024Updated 2 years ago
- Algebraic value editing in pretrained language models☆71Nov 1, 2023Updated 2 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- ☆291Mar 2, 2024Updated 2 years ago
- Representation Engineering: A Top-Down Approach to AI Transparency☆1,036Aug 14, 2024Updated 2 years ago
- This is the repository of HaluEval, a large-scale hallucination evaluation benchmark for Large Language Models.☆598Feb 12, 2024Updated 2 years ago
- Code for paper: Aligning Large Language Models with Representation Editing: A Control Perspective☆34Jan 31, 2025Updated last year
- Code & Data for our Paper "Alleviating Hallucinations of Large Language Models through Induced Hallucinations"☆71Feb 27, 2024Updated 2 years ago
- ☆58Jun 30, 2023Updated 3 years ago
- TruthfulQA: Measuring How Models Imitate Human Falsehoods☆947Jan 16, 2025Updated last year
- Steering Llama 2 with Contrastive Activation Addition☆253May 23, 2024Updated 2 years ago
- Reading list of hallucination in LLMs. Check out our new survey paper: "Siren’s Song in the AI Ocean: A Survey on Hallucination in Large …☆1,087Sep 27, 2025Updated last year
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- In-Context Sharpness as Alerts: An Inner Representation Perspective for Hallucination Mitigation (ICML 2024)☆64Mar 30, 2024Updated 2 years ago
- LLM experiments done during SERI MATS - focusing on activation steering / interpreting activation spaces☆107Sep 21, 2023Updated 3 years ago
- Personalized Steering of Large Language Models: Versatile Steering Vectors Through Bi-directional Preference Optimization☆51Jul 28, 2024Updated 2 years ago
- Tools for understanding how transformer predictions are built layer-by-layer☆615Aug 7, 2025Updated last year
- A package to evaluate factuality of long-form generation. Original implementation of our EMNLP 2023 paper "FActScore: Fine-grained Atomic…☆457Apr 13, 2025Updated last year
- Locating and editing factual associations in GPT (NeurIPS 2022)☆780Apr 20, 2024Updated 2 years ago
- contrastive decoding☆206Nov 14, 2022Updated 3 years ago
- Using sparse coding to find distributed representations used by neural networks.☆313Nov 10, 2023Updated 2 years ago
- ☆116Aug 8, 2024Updated 2 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- ☆90Nov 11, 2022Updated 3 years ago
- ☆19Sep 1, 2025Updated last year
- Our research proposes a novel MoGU framework that improves LLMs' safety while preserving their usability.☆18Jan 14, 2025Updated last year
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆202Feb 13, 2025Updated last year
- ☆297Oct 1, 2024Updated last year
- A resource repository for representation engineering in large language models☆156Nov 14, 2024Updated last year
- Improving Alignment and Robustness with Circuit Breakers☆269Sep 24, 2024Updated 2 years ago
- List of papers on hallucination detection in LLMs.☆1,134Jul 24, 2026Updated 2 months ago
- LoFiT: Localized Fine-tuning on LLM Representations☆45Jan 15, 2025Updated last year
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆153Jul 19, 2024Updated 2 years ago
- A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity.☆89Mar 7, 2025Updated last year
- Code and data for the FACTOR paper☆54Nov 15, 2023Updated 2 years ago
- Function Vectors in Large Language Models (ICLR 2024)☆201Apr 30, 2026Updated 4 months ago
- Steering vectors for transformer language models in Pytorch / Huggingface☆163Feb 21, 2025Updated last year
- This is the official code for the paper "Vaccine: Perturbation-aware Alignment for Large Language Models" (NeurIPS2024)☆53Jan 15, 2026Updated 8 months ago
- Mass-editing thousands of facts into a transformer memory (ICLR 2023)☆562Jan 31, 2024Updated 2 years ago