lucidrains / recurrent-memory-transformer-pytorch
Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch
☆407Updated 2 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 Block Recurrent Transformer - Pytorch☆218Updated 7 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆318Updated 9 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 6 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆210Updated 7 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆270Updated 11 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆638Updated 2 months ago
- Scaling Data-Constrained Language Models☆333Updated 6 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆163Updated last month
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆448Updated 11 months ago
- Some preliminary explorations of Mamba's context scaling.☆212Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆518Updated last year
- Large Context Attention☆693Updated 2 months ago
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention…☆287Updated 10 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆548Updated 2 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆506Updated 4 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆223Updated last month
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆631Updated last year
- Multipack distributed sampler for fast padding-free training of LLMs☆186Updated 7 months ago
- Official implementation of TransNormerLLM: A Faster and Better LLM☆243Updated last year
- ☆182Updated this week
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆381Updated 9 months ago
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Annotated version of the Mamba paper☆475Updated last year
- Understand and test language model architectures on synthetic tasks.☆185Updated 2 weeks ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆651Updated 3 months ago
- Implementation of 🌻 Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorch☆88Updated last year
- Simple next-token-prediction for RLHF☆222Updated last year
- A minimum example of aligning language models with RLHF similar to ChatGPT☆217Updated last year