dingo-actual / infini-transformerLinks
PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" (https://arxiv.org/abs/2404.07143)
☆291Updated last year
Alternatives and similar repositories for infini-transformer
Users that are interested in infini-transformer are comparing it to the libraries listed below
Sorting:
- Unofficial PyTorch/🤗Transformers(Gemma/Llama3) implementation of Leave No Context Behind: Efficient Infinite Context Transformers with I…☆368Updated last year
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆161Updated 5 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, spars…☆343Updated 9 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆201Updated last year
- The Truth Is In There: Improving Reasoning in Language Models with Layer-Selective Rank Reduction☆388Updated last year
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Models☆229Updated 5 months ago
- Beyond Language Models: Byte Models are Digital World Simulators☆329Updated last year
- Some preliminary explorations of Mamba's context scaling.☆217Updated last year
- Implementation of DoRA☆301Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆540Updated 4 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆437Updated 4 months ago
- Official PyTorch implementation of QA-LoRA☆141Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆560Updated 9 months ago
- A family of compressed models obtained via pruning and knowledge distillation☆352Updated 10 months ago
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024☆338Updated 5 months ago
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.☆260Updated last year
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAI☆292Updated 4 months ago
- ☆196Updated last month
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆463Updated last year
- Official repository for ORPO☆464Updated last year
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"☆246Updated 8 months ago
- [ICLR 2025] Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling☆912Updated 5 months ago
- [ICML 2024] CLLMs: Consistency Large Language Models☆404Updated 10 months ago
- ☆202Updated 9 months ago
- ☆229Updated last year
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆206Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆201Updated last year
- MoRA: High-Rank Updating for Parameter-Efficient Fine-Tuning☆359Updated last year
- An efficent implementation of the method proposed in "The Era of 1-bit LLMs"☆155Updated 11 months ago
- Reference implementation of Megalodon 7B model☆523Updated 4 months ago