melisa-writer / short-transformers
Prune transformer layers
☆67Updated 8 months ago
Alternatives and similar repositories for short-transformers:
Users that are interested in short-transformers are comparing it to the libraries listed below
- Code for Zero-Shot Tokenizer Transfer☆120Updated last month
- Repo hosting codes and materials related to speeding LLMs' inference using token merging.☆35Updated 9 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆57Updated 3 weeks ago
- ☆125Updated last year
- Code for studying the super weight in LLM☆80Updated 2 months ago
- ☆47Updated 5 months ago
- [ICLR 2025] Monet: Mixture of Monosemantic Experts for Transformers☆56Updated 3 weeks ago
- ☆75Updated last month
- Anchored Preference Optimization and Contrastive Revisions: Addressing Underspecification in Alignment☆54Updated 5 months ago
- A fast implementation of T5/UL2 in PyTorch using Flash Attention☆82Updated 3 weeks ago
- A single repo with all scripts and utils to train / fine-tune the Mamba model with or without FIM☆51Updated 10 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆191Updated 7 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆70Updated 3 months ago
- Set of scripts to finetune LLMs☆36Updated 10 months ago
- ☆71Updated 6 months ago
- This is the official repository for Inheritune.☆109Updated last week
- The official repo for "LLoCo: Learning Long Contexts Offline"☆114Updated 8 months ago
- code for training & evaluating Contextual Document Embedding models☆173Updated last month
- ☆135Updated last week
- ☆44Updated 3 months ago
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆160Updated 2 months ago
- ☆95Updated 7 months ago
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- My fork os allen AI's OLMo for educational purposes.☆30Updated 2 months ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆59Updated 4 months ago
- ☆66Updated 7 months ago
- Implementation of 🥥 Coconut, Chain of Continuous Thought, in Pytorch☆156Updated last month
- Understand and test language model architectures on synthetic tasks.☆181Updated last month
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆117Updated 6 months ago
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆148Updated 3 weeks ago