microsoft / LongRoPE
LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.
☆201Updated 6 months ago
Alternatives and similar repositories for LongRoPE:
Users that are interested in LongRoPE are comparing it to the libraries listed below
- [ICML'24] Data and code for our paper "Training-Free Long-Context Scaling of Large Language Models"☆392Updated 4 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆196Updated 7 months ago
- Implementation of the LongRoPE: Extending LLM Context Window Beyond 2 Million Tokens Paper☆127Updated 7 months ago
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆149Updated 2 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆152Updated 8 months ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆204Updated 9 months ago
- Parameter-Efficient Sparsity Crafting From Dense to Mixture-of-Experts for Instruction Tuning on General Tasks☆140Updated 5 months ago
- Reproducible, flexible LLM evaluations☆172Updated 3 months ago
- A family of compressed models obtained via pruning and knowledge distillation☆329Updated 4 months ago
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆193Updated 5 months ago
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆431Updated last month
- This is the official repository for Inheritune.☆109Updated last month
- Repo for Rho-1: Token-level Data Selection & Selective Pretraining of LLMs.☆405Updated 10 months ago
- The code of our paper "InfLLM: Unveiling the Intrinsic Capacity of LLMs for Understanding Extremely Long Sequences with Training-Free Mem…☆339Updated 10 months ago
- Automated Identification of Redundant Layer Blocks for Pruning in Large Language Models☆223Updated 10 months ago
- A framework to study AI models in Reasoning, Alignment, and use of Memory (RAM).☆207Updated 3 weeks ago
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024☆277Updated 2 weeks ago
- A project to improve skills of large language models☆255Updated this week
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆109Updated 3 months ago
- LongEmbed: Extending Embedding Models for Long Context Retrieval (EMNLP 2024)☆130Updated 4 months ago
- Codes for the paper "∞Bench: Extending Long Context Evaluation Beyond 100K Tokens": https://arxiv.org/abs/2402.13718☆312Updated 5 months ago
- ☆253Updated last year
- Benchmarking LLMs with Challenging Tasks from Real Users☆218Updated 4 months ago
- ☆75Updated last month
- 🌾 OAT: A research-friendly framework for LLM online alignment, including preference learning, reinforcement learning, etc.☆216Updated this week
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, spars…☆305Updated 3 months ago
- [ICML 2024] CLLMs: Consistency Large Language Models☆385Updated 3 months ago
- X-LoRA: Mixture of LoRA Experts☆212Updated 7 months ago