eth-sri / language-model-arithmetic
Controlled Text Generation via Language Model Arithmetic
☆212Updated 2 months ago
Related projects ⓘ
Alternatives and complementary repositories for language-model-arithmetic
- Mass-editing thousands of facts into a transformer memory (ICLR 2023)☆438Updated 9 months ago
- ☆126Updated last year
- Self-playing Adversarial Language Game Enhances LLM Reasoning, NeurIPS 2024☆99Updated last week
- This is a repository for "PMET: Precise Model Editing in a Transformer"☆43Updated last year
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆139Updated this week
- ☆295Updated 5 months ago
- [EMNLP 2023] Adapting Language Models to Compress Long Contexts☆277Updated 2 months ago
- Code and data for "Lumos: Learning Agents with Unified Data, Modular Design, and Open-Source LLMs"☆448Updated 8 months ago
- [NeurIPS'24] SelfCodeAlign: Self-Alignment for Code Generation☆268Updated 2 weeks ago
- visualizing attention for LLM users☆163Updated last year
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model☆465Updated last month
- Evaluating LLMs with fewer examples☆134Updated 7 months ago
- A simple unified framework for evaluating LLMs☆145Updated last week
- a curated list of data for reasoning ai☆112Updated 3 months ago
- TART: A plug-and-play Transformer module for task-agnostic reasoning☆190Updated last year
- LongEmbed: Extending Embedding Models for Long Context Retrieval (EMNLP 2024)☆115Updated last week
- Self-Alignment with Principle-Following Reward Models☆148Updated 8 months ago
- ToolBench, an evaluation suite for LLM tool manipulation capabilities.☆144Updated 8 months ago
- ☆125Updated 7 months ago
- ModuleFormer is a MoE-based architecture that includes two different types of experts: stick-breaking attention heads and feedforward exp…☆216Updated 7 months ago
- ☆266Updated last year
- Code repository for the c-BTM paper☆105Updated last year
- This is work done by the Oxen.ai Community, trying to reproduce the Self-Rewarding Language Model paper from MetaAI.☆109Updated this week
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".☆129Updated this week
- [NeurIPS 2023] This is the code for the paper `Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Bias`.☆141Updated last year
- Steer LLM outputs towards a certain topic/subject and enhance response capabilities using activation engineering by adding steering vecto…☆203Updated 6 months ago
- Code for In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering☆144Updated last month
- Learning to Compress Prompts with Gist Tokens - https://arxiv.org/abs/2304.08467☆266Updated last year
- Official implementation for the paper "DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models"☆428Updated 6 months ago
- Scripts for generating synthetic finetuning data for reducing sycophancy.☆107Updated last year