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β¦β369Updated last year
- Beyond Language Models: Byte Models are Digital World Simulatorsβ329Updated last year
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.β202Updated last year
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β342Updated 10 months ago
- The Truth Is In There: Improving Reasoning in Language Models with Layer-Selective Rank Reductionβ388Updated last year
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)β162Updated 6 months ago
- A family of compressed models obtained via pruning and knowledge distillationβ352Updated 11 months ago
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Modelsβ231Updated last week
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ542Updated 5 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"β560Updated 9 months ago
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ405Updated 11 months ago
- β200Updated last month
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024β344Updated 5 months ago
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β747Updated last year
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β248Updated 8 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β439Updated 5 months ago
- Some preliminary explorations of Mamba's context scaling.β216Updated last year
- Implementation of DoRAβ304Updated last year
- Normalized Transformer (nGPT)β192Updated 11 months ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)β204Updated last year
- β202Updated 10 months ago
- Reference implementation of Megalodon 7B modelβ522Updated 5 months ago
- Official PyTorch implementation of QA-LoRAβ141Updated last year
- An efficent implementation of the method proposed in "The Era of 1-bit LLMs"β154Updated last year
- Implementation of the LongRoPE: Extending LLM Context Window Beyond 2 Million Tokens Paperβ150Updated last year
- Official repository for ORPOβ463Updated last year
- For releasing code related to compression methods for transformers, accompanying our publicationsβ446Updated 9 months ago
- Multipack distributed sampler for fast padding-free training of LLMsβ201Updated last year
- Micro Llama is a small Llama based model with 300M parameters trained from scratch with $500 budgetβ161Updated 2 months ago
- β230Updated last year