dingo-actual / infini-transformer
PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" (https://arxiv.org/abs/2404.07143)
β287Updated 10 months ago
Alternatives and similar repositories for infini-transformer:
Users that are interested in infini-transformer are comparing it to the libraries listed below
- Unofficial PyTorch/π€Transformers(Gemma/Llama3) implementation of Leave No Context Behind: Efficient Infinite Context Transformers with Iβ¦β355Updated 11 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β307Updated 3 months ago
- [ICLR 2024] Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningβ597Updated last year
- β220Updated 9 months ago
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Modelsβ205Updated 3 weeks ago
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)β150Updated 3 months ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)β206Updated 10 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.β196Updated 8 months ago
- A family of compressed models obtained via pruning and knowledge distillationβ329Updated 4 months ago
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β705Updated 5 months ago
- Multipack distributed sampler for fast padding-free training of LLMsβ186Updated 7 months ago
- The Truth Is In There: Improving Reasoning in Language Models with Layer-Selective Rank Reductionβ382Updated 8 months ago
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ506Updated 4 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β223Updated last month
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024β277Updated 3 weeks ago
- Official repository for ORPOβ445Updated 9 months ago
- Official PyTorch implementation of QA-LoRAβ129Updated last year
- Beyond Language Models: Byte Models are Digital World Simulatorsβ322Updated 9 months ago
- [ICML'24] Data and code for our paper "Training-Free Long-Context Scaling of Large Language Models"β393Updated 5 months ago
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ386Updated 4 months ago
- Some preliminary explorations of Mamba's context scaling.β212Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"β548Updated 2 months ago
- Repo for Rho-1: Token-level Data Selection & Selective Pretraining of LLMs.β405Updated 11 months ago
- Implementation of DoRAβ290Updated 9 months ago
- For releasing code related to compression methods for transformers, accompanying our publicationsβ416Updated 2 months ago
- β194Updated 3 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorchβ407Updated 2 months ago
- Implementation of the LongRoPE: Extending LLM Context Window Beyond 2 Million Tokens Paperβ128Updated 8 months ago
- β253Updated last year
- [ACL 2024] Progressive LLaMA with Block Expansion.β499Updated 10 months ago