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☆113Updated 7 months ago
- Code for Zero-Shot Tokenizer Transfer☆133Updated 6 months ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆59Updated 9 months ago
- Collection of autoregressive model implementation☆85Updated 2 months ago
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆174Updated 3 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆78Updated last month
- ☆199Updated 7 months ago
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆203Updated 2 months ago
- ☆127Updated last year
- The evaluation framework for training-free sparse attention in LLMs☆82Updated 3 weeks ago
- Repository for the Q-Filters method (https://arxiv.org/pdf/2503.02812)☆33Updated 4 months ago
- ☆48Updated 10 months ago
- [ICLR 2025] Monet: Mixture of Monosemantic Experts for Transformers☆68Updated 3 weeks ago
- code for training & evaluating Contextual Document Embedding models☆194Updated 2 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆150Updated 3 months ago
- The official repo for "LLoCo: Learning Long Contexts Offline"☆117Updated last year
- ☆198Updated 5 months ago
- nanoGPT-like codebase for LLM training☆100Updated 2 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆198Updated 11 months ago
- Understand and test language model architectures on synthetic tasks.☆219Updated last month
- A toolkit implementing advanced methods to transfer models and model knowledge across tokenizers.☆33Updated last week
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆98Updated 9 months ago
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆177Updated 10 months ago
- ☆80Updated 6 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆147Updated 2 weeks ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆128Updated 7 months ago
- ☆51Updated 8 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"☆243Updated 5 months ago
- Repo hosting codes and materials related to speeding LLMs' inference using token merging.☆36Updated last year
- This is the official repository for Inheritune.☆111Updated 5 months ago