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)
β294Updated 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
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β360Updated 11 months ago
- Beyond Language Models: Byte Models are Digital World Simulatorsβ331Updated last year
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)β162Updated 7 months ago
- The Truth Is In There: Improving Reasoning in Language Models with Layer-Selective Rank Reductionβ389Updated last year
- Implementation of DoRAβ307Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"β561Updated 11 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.β202Updated last year
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Modelsβ232Updated last month
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β445Updated 6 months ago
- β205Updated this week
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)β205Updated last year
- Some preliminary explorations of Mamba's context scaling.β217Updated last year
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ545Updated 6 months ago
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ406Updated last year
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β750Updated last year
- Official PyTorch implementation of QA-LoRAβ145Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β243Updated 5 months ago
- Implementation of π₯₯ Coconut, Chain of Continuous Thought, in Pytorchβ180Updated 5 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"β175Updated last year
- Implementation of paper Data Engineering for Scaling Language Models to 128K Contextβ478Updated last year
- Implementation of the LongRoPE: Extending LLM Context Window Beyond 2 Million Tokens Paperβ152Updated last year
- LongRoPE is a novel method that can extends the context window of pre-trained LLMs to an impressive 2048k tokens.β272Updated last month
- Reference implementation of Megalodon 7B modelβ525Updated 6 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β249Updated 10 months ago
- A family of compressed models obtained via pruning and knowledge distillationβ357Updated 3 weeks ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ293Updated 6 months ago
- β235Updated last year
- Repo for Rho-1: Token-level Data Selection & Selective Pretraining of LLMs.β447Updated last year
- β203Updated 11 months ago