lucidrains / recurrent-memory-transformer-pytorchLinks
Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch
☆417Updated 9 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:
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆223Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆362Updated last year
- Recurrent Memory Transformer☆150Updated 2 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆221Updated last year
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆382Updated last year
- Implementation of the Llama architecture with RLHF + Q-learning☆168Updated 8 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆652Updated 9 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆327Updated 6 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆464Updated last year
- ☆196Updated last month
- Scaling Data-Constrained Language Models☆342Updated 3 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆560Updated 9 months ago
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- ☆256Updated 4 months ago
- JAX implementation of the Llama 2 model☆218Updated last year
- Language Modeling with the H3 State Space Model☆517Updated 2 years ago
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention…☆291Updated last year
- Sequence modeling with Mega.☆300Updated 2 years ago
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆178Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆543Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆540Updated 4 months ago
- ☆308Updated last year
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆635Updated 2 years ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆478Updated 2 years ago
- Multipack distributed sampler for fast padding-free training of LLMs☆201Updated last year
- A minimum example of aligning language models with RLHF similar to ChatGPT☆221Updated 2 years ago
- Official implementation of TransNormerLLM: A Faster and Better LLM☆247Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆383Updated 2 years ago
- Understand and test language model architectures on synthetic tasks.☆229Updated last week