melisa-writer / short-transformersLinks
Prune transformer layers
☆74Updated 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☆142Updated 11 months ago
- code for training & evaluating Contextual Document Embedding models☆201Updated 7 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆202Updated last year
- Code for studying the super weight in LLM☆121Updated last year
- Collection of autoregressive model implementation☆85Updated 7 months ago
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆185Updated 3 weeks ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆91Updated 4 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
- ☆204Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆179Updated 5 months ago
- ☆128Updated last year
- Repository for the Q-Filters method (https://arxiv.org/pdf/2503.02812)☆35Updated 9 months ago
- This is the official repository for Inheritune.☆115Updated 10 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆157Updated 8 months ago
- [ICLR 2025] Monet: Mixture of Monosemantic Experts for Transformers☆74Updated 5 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
- The official repo for "LLoCo: Learning Long Contexts Offline"☆118Updated last year
- ☆48Updated last year
- Unofficial implementation of https://arxiv.org/pdf/2407.14679☆51Updated last year
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆162Updated 8 months ago
- [NeurIPS 2024] Low rank memory efficient optimizer without SVD☆32Updated 5 months ago
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆226Updated 3 months ago
- Understand and test language model architectures on synthetic tasks.☆245Updated 2 months ago
- Implementation of 🥥 Coconut, Chain of Continuous Thought, in Pytorch☆181Updated 5 months ago
- nanoGPT-like codebase for LLM training☆113Updated last month
- ☆89Updated last year
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆179Updated last year
- A toolkit implementing advanced methods to transfer models and model knowledge across tokenizers.☆57Updated 5 months ago
- ☆85Updated last month
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"☆249Updated 10 months ago