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)
β292Updated 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β¦β373Updated last year
- The Truth Is In There: Improving Reasoning in Language Models with Layer-Selective Rank Reductionβ389Updated last year
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)β162Updated 7 months ago
- Beyond Language Models: Byte Models are Digital World Simulatorsβ329Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"β560Updated 10 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.β202Updated last year
- Implementation of DoRAβ307Updated last year
- Official PyTorch implementation of QA-LoRAβ143Updated last year
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β355Updated 11 months ago
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Modelsβ231Updated 3 weeks ago
- A family of compressed models obtained via pruning and knowledge distillationβ355Updated last week
- β204Updated 3 weeks ago
- Some preliminary explorations of Mamba's context scaling.β216Updated last year
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)β204Updated last year
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.β267Updated 2 weeks ago
- β202Updated 11 months ago
- Reference implementation of Megalodon 7B modelβ523Updated 5 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β440Updated 6 months ago
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ543Updated 5 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updatesβ467Updated last year
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024β344Updated 6 months ago
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β750Updated last year
- Implementation of π₯₯ Coconut, Chain of Continuous Thought, in Pytorchβ179Updated 4 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β249Updated 9 months ago
- X-LoRA: Mixture of LoRA Expertsβ247Updated last year
- An efficent implementation of the method proposed in "The Era of 1-bit LLMs"β154Updated last year
- Multipack distributed sampler for fast padding-free training of LLMsβ201Updated last year
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ404Updated 11 months ago
- [ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningβ660Updated last year
- For releasing code related to compression methods for transformers, accompanying our publicationsβ447Updated 9 months ago