lucidrains / gated-state-spaces-pytorch
Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch
☆97Updated last year
Alternatives and similar repositories for gated-state-spaces-pytorch:
Users that are interested in gated-state-spaces-pytorch are comparing it to the libraries listed below
- Sequence Modeling with Structured State Spaces☆62Updated 2 years ago
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆80Updated 3 years ago
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆78Updated 6 months ago
- Implementation of the Kalman Filtering Attention proposed in "Kalman Filtering Attention for User Behavior Modeling in CTR Prediction"☆57Updated last year
- Sequence Modeling with Multiresolution Convolutional Memory (ICML 2023)☆122Updated last year
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Implementation of Discrete Key / Value Bottleneck, in Pytorch☆87Updated last year
- Implementation of some personal helper functions for Einops, my most favorite tensor manipulation library ❤️☆53Updated 2 years ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆87Updated 7 months ago
- Another attempt at a long-context / efficient transformer by me☆37Updated 2 years ago
- [NeurIPS 2022] Your Transformer May Not be as Powerful as You Expect (official implementation)☆34Updated last year
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆55Updated 8 months ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆110Updated 4 years ago
- The official repository for our paper "The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers". We s…☆67Updated 2 years ago
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆44Updated last year
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆48Updated 3 years ago
- Implementation of "compositional attention" from MILA, a multi-head attention variant that is reframed as a two-step attention process wi…☆50Updated 2 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆84Updated 3 years ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆114Updated 3 months ago
- Transformers with doubly stochastic attention☆44Updated 2 years ago
- A GPT, made only of MLPs, in Jax☆57Updated 3 years ago
- ☆84Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆62Updated 9 months ago
- Why Do We Need Weight Decay in Modern Deep Learning? [NeurIPS 2024]☆60Updated 4 months ago
- GPT, but made only out of MLPs☆88Updated 3 years ago
- Code to reproduce the results for Compositional Attention☆60Updated 2 years ago
- Implementation of an Attention layer where each head can attend to more than just one token, using coordinate descent to pick topk☆46Updated last year
- Explorations into the recently proposed Taylor Series Linear Attention☆92Updated 5 months ago
- Efficient Transformers with Dynamic Token Pooling☆58Updated last year