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)
β290Updated 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β¦β365Updated last year
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Modelsβ222Updated 2 months ago
- Beyond Language Models: Byte Models are Digital World Simulatorsβ324Updated last year
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β341Updated 7 months ago
- A family of compressed models obtained via pruning and knowledge distillationβ343Updated 8 months ago
- The Truth Is In There: Improving Reasoning in Language Models with Layer-Selective Rank Reductionβ388Updated last year
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.β198Updated 11 months ago
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)β158Updated 3 months ago
- Implementation of DoRAβ296Updated last year
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ396Updated 7 months ago
- Official PyTorch implementation of QA-LoRAβ138Updated last year
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β427Updated 2 months ago
- Some preliminary explorations of Mamba's context scaling.β214Updated last year
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ529Updated last month
- Reference implementation of Megalodon 7B modelβ520Updated last month
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β243Updated 5 months ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)β204Updated last year
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"β165Updated last year
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.β232Updated 10 months ago
- β199Updated 7 months ago
- For releasing code related to compression methods for transformers, accompanying our publicationsβ433Updated 5 months ago
- Implementation of π₯₯ Coconut, Chain of Continuous Thought, in Pytorchβ177Updated 3 weeks ago
- β191Updated this week
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β735Updated 9 months ago
- Official implementation of TransNormerLLM: A Faster and Better LLMβ247Updated last year
- An efficent implementation of the method proposed in "The Era of 1-bit LLMs"β154Updated 8 months ago
- Implementation of the LongRoPE: Extending LLM Context Window Beyond 2 Million Tokens Paperβ146Updated 11 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"β555Updated 6 months ago
- X-LoRA: Mixture of LoRA Expertsβ231Updated 11 months ago
- Micro Llama is a small Llama based model with 300M parameters trained from scratch with $500 budgetβ153Updated last year