CASE-Lab-UMD / LLM-Drop
The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".
☆165Updated this week
Alternatives and similar repositories for LLM-Drop:
Users that are interested in LLM-Drop are comparing it to the libraries listed below
- ☆220Updated 9 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆155Updated 9 months ago
- Code for studying the super weight in LLM☆94Updated 3 months ago
- Explorations into some recent techniques surrounding speculative decoding☆250Updated 3 months ago
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆203Updated 3 weeks ago
- ☆195Updated 3 months ago
- ☆172Updated last year
- ☆125Updated last year
- Code accompanying the paper "Massive Activations in Large Language Models"☆151Updated last year
- Implementation of 🥥 Coconut, Chain of Continuous Thought, in Pytorch☆161Updated 3 months ago
- Parameter-Efficient Sparsity Crafting From Dense to Mixture-of-Experts for Instruction Tuning on General Tasks☆141Updated 6 months ago
- open-source code for paper: Retrieval Head Mechanistically Explains Long-Context Factuality☆180Updated 8 months ago
- ☆253Updated last year
- Official implementation of "DoRA: Weight-Decomposed Low-Rank Adaptation"☆123Updated 11 months ago
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆174Updated 6 months ago
- [ICLR 2024 Spotlight] Code for the paper "Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy"☆77Updated 9 months ago
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024☆279Updated last month
- A family of compressed models obtained via pruning and knowledge distillation☆331Updated 4 months ago
- ☆43Updated 5 months ago
- LLM-Merging: Building LLMs Efficiently through Merging☆192Updated 6 months ago
- ☆213Updated 9 months ago
- Official PyTorch implementation of QA-LoRA☆129Updated last year
- Repo for Rho-1: Token-level Data Selection & Selective Pretraining of LLMs.☆405Updated 11 months ago
- Code and Data for "Long-context LLMs Struggle with Long In-context Learning" [TMLR2025]☆102Updated last month
- Official Implementation of SLEB: Streamlining LLMs through Redundancy Verification and Elimination of Transformer Blocks☆35Updated last month
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆224Updated last month
- ☆122Updated last month
- Function Vectors in Large Language Models (ICLR 2024)☆153Updated 2 weeks ago
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆150Updated 3 months ago
- Homepage for ProLong (Princeton long-context language models) and paper "How to Train Long-Context Language Models (Effectively)"☆171Updated 3 weeks ago