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 Zero-Shot Tokenizer Transfer☆137Updated 8 months ago
- Code for studying the super weight in LLM☆117Updated 9 months ago
- ☆128Updated last year
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆201Updated last year
- [NeurIPS 2024] Low rank memory efficient optimizer without SVD☆31Updated 2 months ago
- ☆202Updated 9 months ago
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆176Updated 5 months ago
- Repository for the Q-Filters method (https://arxiv.org/pdf/2503.02812)☆35Updated 6 months ago
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆212Updated 2 weeks ago
- ☆69Updated last year
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆155Updated 5 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆87Updated 2 months ago
- code for training & evaluating Contextual Document Embedding models☆197Updated 4 months ago
- Collection of autoregressive model implementation☆86Updated 4 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆146Updated last year
- This is the official repository for Inheritune.☆113Updated 7 months ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated 11 months ago
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024☆335Updated 4 months ago
- nanoGPT-like codebase for LLM training☆107Updated 4 months ago
- The evaluation framework for training-free sparse attention in LLMs☆93Updated 3 months ago
- ☆48Updated last year
- Repo hosting codes and materials related to speeding LLMs' inference using token merging.☆36Updated 2 months ago
- Understand and test language model architectures on synthetic tasks.☆225Updated 2 months ago
- Some preliminary explorations of Mamba's context scaling.☆217Updated last year
- The official repo for "LLoCo: Learning Long Contexts Offline"☆116Updated last year
- [ICLR 2025] Monet: Mixture of Monosemantic Experts for Transformers☆70Updated 2 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆162Updated 2 months ago
- From GaLore to WeLore: How Low-Rank Weights Non-uniformly Emerge from Low-Rank Gradients. Ajay Jaiswal, Lu Yin, Zhenyu Zhang, Shiwei Liu,…☆48Updated 5 months ago
- ☆85Updated last year
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆129Updated 9 months ago