lucidrains / recurrent-memory-transformer-pytorchLinks
Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch
☆410Updated 6 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:
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated 10 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆214Updated 10 months ago
- Recurrent Memory Transformer☆150Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆220Updated 10 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆345Updated 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 MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆645Updated 6 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆458Updated last year
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆466Updated 2 years ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆304Updated 3 months ago
- Language Modeling with the H3 State Space Model☆519Updated last year
- Scaling Data-Constrained Language Models☆337Updated 2 weeks ago
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆634Updated 2 years ago
- Implementation of the Llama architecture with RLHF + Q-learning☆165Updated 5 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆529Updated 2 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆555Updated 6 months ago
- ☆191Updated last week
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- ☆256Updated last month
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆962Updated last year
- ☆303Updated last year
- JAX implementation of the Llama 2 model☆219Updated last year
- Sequence modeling with Mega.☆296Updated 2 years ago
- A crude RLHF layer on top of nanoGPT with Gumbel-Softmax trick☆290Updated last year
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆177Updated 10 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆536Updated last year
- Understand and test language model architectures on synthetic tasks.☆219Updated last month
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention…☆290Updated last year
- Some preliminary explorations of Mamba's context scaling.☆215Updated last year
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆123Updated 11 months ago