lucidrains / recurrent-memory-transformer-pytorch
Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch
☆407Updated 3 months ago
Alternatives and similar repositories for recurrent-memory-transformer-pytorch:
Users that are interested in recurrent-memory-transformer-pytorch are comparing it to the libraries listed below
- Recurrent Memory Transformer☆149Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 7 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆328Updated 10 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆211Updated 8 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆283Updated 3 weeks ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆522Updated last year
- Sequence modeling with Mega.☆294Updated 2 years ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆641Updated 3 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 8 months ago
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆632Updated last year
- Scaling Data-Constrained Language Models☆334Updated 7 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆549Updated 3 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆511Updated 6 months ago
- Large Context Attention☆704Updated 3 months ago
- ☆185Updated this week
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆452Updated last year
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention…☆288Updated 11 months ago
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆380Updated 10 months ago
- Some preliminary explorations of Mamba's context scaling.☆212Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆188Updated 8 months ago
- Language Modeling with the H3 State Space Model☆520Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆242Updated last year
- ☆166Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆377Updated last year
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆174Updated 7 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆232Updated 2 months ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆458Updated last year
- Annotated version of the Mamba paper☆483Updated last year
- Code release for "Dropout Reduces Underfitting"☆313Updated last year
- ☆302Updated 10 months ago