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)
β289Updated 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β¦β364Updated last year
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ519Updated last month
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)β158Updated 2 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β337Updated 6 months ago
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β731Updated 8 months ago
- The Truth Is In There: Improving Reasoning in Language Models with Layer-Selective Rank Reductionβ388Updated 11 months ago
- Some preliminary explorations of Mamba's context scaling.β214Updated last year
- Large Context Attentionβ716Updated 4 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.β198Updated 11 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β239Updated 4 months ago
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Modelsβ221Updated last month
- [ICLR 2024] Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningβ617Updated last year
- β178Updated 6 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β421Updated last month
- A family of compressed models obtained via pruning and knowledge distillationβ343Updated 7 months ago
- Implementation of DoRAβ294Updated last year
- Repo for Rho-1: Token-level Data Selection & Selective Pretraining of LLMs.β421Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLMβ244Updated last year
- [COLM 2024] LoraHub: Efficient Cross-Task Generalization via Dynamic LoRA Compositionβ640Updated 11 months ago
- A bagel, with everything.β321Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorchβ409Updated 5 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ284Updated 2 weeks ago
- Official PyTorch implementation of QA-LoRAβ137Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"β554Updated 5 months ago
- Normalized Transformer (nGPT)β183Updated 7 months ago
- β223Updated last year
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.β231Updated 10 months ago
- [ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningβ653Updated last year
- Implementation of paper Data Engineering for Scaling Language Models to 128K Contextβ463Updated last year
- Multipack distributed sampler for fast padding-free training of LLMsβ191Updated 10 months ago