CASE-Lab-UMD / LLM-Drop
The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".
☆162Updated 3 months ago
Alternatives and similar repositories for LLM-Drop:
Users that are interested in LLM-Drop are comparing it to the libraries listed below
- Code for studying the super weight in LLM☆83Updated 3 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆148Updated 8 months ago
- ☆192Updated 2 months ago
- Explorations into some recent techniques surrounding speculative decoding☆243Updated 2 months ago
- Code accompanying the paper "Massive Activations in Large Language Models"☆141Updated 11 months ago
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024☆274Updated last week
- Repo for Rho-1: Token-level Data Selection & Selective Pretraining of LLMs.☆400Updated 10 months ago
- ☆217Updated 8 months ago
- ☆167Updated last year
- LLM-Merging: Building LLMs Efficiently through Merging☆191Updated 5 months ago
- ☆181Updated this week
- Official Implementation of SLEB: Streamlining LLMs through Redundancy Verification and Elimination of Transformer Blocks☆34Updated 3 weeks ago
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆189Updated 5 months ago
- ☆125Updated last year
- Parameter-Efficient Sparsity Crafting From Dense to Mixture-of-Experts for Instruction Tuning on General Tasks☆140Updated 5 months ago
- Prune transformer layers☆68Updated 9 months ago
- Implementation of 🥥 Coconut, Chain of Continuous Thought, in Pytorch☆158Updated 2 months ago
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆173Updated 5 months ago
- Simple implementation of Speculative Sampling in NumPy for GPT-2.☆91Updated last year
- open-source code for paper: Retrieval Head Mechanistically Explains Long-Context Factuality☆175Updated 7 months ago
- ☆75Updated last month
- The official repo for "LLoCo: Learning Long Contexts Offline"☆114Updated 8 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆194Updated 7 months ago
- Official implementation of "DoRA: Weight-Decomposed Low-Rank Adaptation"☆124Updated 10 months ago
- ☆251Updated last year
- ☆142Updated 2 weeks ago
- Function Vectors in Large Language Models (ICLR 2024)☆140Updated 4 months ago
- 🌾 OAT: A research-friendly framework for LLM online alignment, including preference learning, reinforcement learning, etc.☆208Updated last week
- ☆171Updated 2 months ago
- Homepage for ProLong (Princeton long-context language models) and paper "How to Train Long-Context Language Models (Effectively)"☆160Updated last week