melisa-writer / short-transformers
Prune transformer layers
☆68Updated 10 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 studying the super weight in LLM☆98Updated 4 months ago
- Code for Zero-Shot Tokenizer Transfer☆127Updated 3 months ago
- minimal GRPO implementation from scratch☆85Updated last month
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆198Updated 9 months ago
- Spherical Merge Pytorch/HF format Language Models with minimal feature loss.☆120Updated last year
- ☆47Updated 7 months ago
- [ICLR 2025] Monet: Mixture of Monosemantic Experts for Transformers☆64Updated 3 months ago
- ☆197Updated 4 months ago
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆97Updated 6 months ago
- ☆78Updated 8 months ago
- Collection of autoregressive model implementation☆85Updated 2 months ago
- Repo hosting codes and materials related to speeding LLMs' inference using token merging.☆36Updated 11 months ago
- ☆125Updated last year
- This is the official repository for Inheritune.☆111Updated 2 months ago
- The official repo for "LLoCo: Learning Long Contexts Offline"☆116Updated 10 months ago
- Language models scale reliably with over-training and on downstream tasks☆96Updated last year
- Understand and test language model architectures on synthetic tasks.☆192Updated last month
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆59Updated 3 months ago
- Repository for the Q-Filters method (https://arxiv.org/pdf/2503.02812)☆30Updated last month
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆174Updated 7 months ago
- code for training & evaluating Contextual Document Embedding models☆181Updated last week
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆128Updated 8 months ago
- Anchored Preference Optimization and Contrastive Revisions: Addressing Underspecification in Alignment☆55Updated 7 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆71Updated 5 months ago
- Implementation of 🥥 Coconut, Chain of Continuous Thought, in Pytorch☆165Updated 3 months ago
- The official implementation of the paper "What Matters in Transformers? Not All Attention is Needed".☆167Updated 3 weeks ago
- My fork os allen AI's OLMo for educational purposes.☆30Updated 4 months ago
- Set of scripts to finetune LLMs☆37Updated last year
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆198Updated last week
- PyTorch library for Active Fine-Tuning☆64Updated 2 months ago