melisa-writer / short-transformersLinks
Prune transformer layers
☆69Updated last year
Alternatives and similar repositories for short-transformers
Users that are interested in short-transformers are comparing it to the libraries listed below
Sorting:
- Code for studying the super weight in LLM☆119Updated 10 months ago
- ☆69Updated last year
- ☆127Updated last year
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆177Updated 6 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆89Updated 2 months ago
- Code for Zero-Shot Tokenizer Transfer☆138Updated 8 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆201Updated last year
- The official repo for "LLoCo: Learning Long Contexts Offline"☆117Updated last year
- ☆201Updated 10 months ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated last year
- Repository for the Q-Filters method (https://arxiv.org/pdf/2503.02812)☆35Updated 7 months ago
- The evaluation framework for training-free sparse attention in LLMs☆101Updated 3 months ago
- This is the official repository for Inheritune.☆115Updated 8 months ago
- nanoGPT-like codebase for LLM training☆108Updated 4 months ago
- ☆85Updated last year
- ☆48Updated last year
- code for training & evaluating Contextual Document Embedding models☆197Updated 4 months ago
- [ICLR 2025] Monet: Mixture of Monosemantic Experts for Transformers☆73Updated 3 months ago
- [NeurIPS 2024] Low rank memory efficient optimizer without SVD☆30Updated 3 months ago
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆213Updated last month
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆155Updated 6 months ago
- ☆86Updated 8 months ago
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆177Updated last year
- Unofficial implementation of https://arxiv.org/pdf/2407.14679☆49Updated last year
- Collection of autoregressive model implementation☆86Updated 5 months ago
- Parameter-Efficient Sparsity Crafting From Dense to Mixture-of-Experts for Instruction Tuning on General Tasks (EMNLP'24)☆147Updated last year
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆147Updated last year
- Repo hosting codes and materials related to speeding LLMs' inference using token merging.☆36Updated this week
- From GaLore to WeLore: How Low-Rank Weights Non-uniformly Emerge from Low-Rank Gradients. Ajay Jaiswal, Lu Yin, Zhenyu Zhang, Shiwei Liu,…☆49Updated 5 months ago
- Automated Identification of Redundant Layer Blocks for Pruning in Large Language Models☆247Updated last year