lucidrains / recurrent-memory-transformer-pytorchLinks
Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch
☆408Updated 5 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
Sorting:
- Recurrent Memory Transformer☆148Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆218Updated 9 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆213Updated 9 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated 9 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆337Updated 11 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆530Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆456Updated last year
- Scaling Data-Constrained Language Models☆334Updated 8 months ago
- ☆256Updated 2 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆514Updated 3 weeks ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆643Updated 5 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 10 months ago
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention…☆289Updated last year
- Some preliminary explorations of Mamba's context scaling.☆214Updated last year
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆380Updated last year
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆294Updated 2 months ago
- Language Modeling with the H3 State Space Model☆519Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆234Updated 3 months ago
- Official implementation of TransNormerLLM: A Faster and Better LLM☆243Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆550Updated 5 months ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆188Updated 9 months ago
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆178Updated 8 months ago
- JAX implementation of the Llama 2 model☆217Updated last year
- A minimum example of aligning language models with RLHF similar to ChatGPT☆219Updated last year
- Simple next-token-prediction for RLHF☆227Updated last year
- ☆166Updated last year
- Understand and test language model architectures on synthetic tasks.☆197Updated 2 months ago