lucidrains / product-key-memory
Standalone Product Key Memory module in Pytorch - for augmenting Transformer models
☆78Updated 7 months ago
Alternatives and similar repositories for product-key-memory:
Users that are interested in product-key-memory are comparing it to the libraries listed below
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 years ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆87Updated 9 months ago
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆48Updated 3 years ago
- Efficient Transformers with Dynamic Token Pooling☆60Updated last year
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆113Updated 4 years ago
- Official Repository of Pretraining Without Attention (BiGS), BiGS is the first model to achieve BERT-level transfer learning on the GLUE …☆116Updated last year
- A variant of Transformer-XL where the memory is updated not with a queue, but with attention☆48Updated 4 years ago
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆55Updated 10 months ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆116Updated 5 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆209Updated 6 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆36Updated last year
- Implementation of the Kalman Filtering Attention proposed in "Kalman Filtering Attention for User Behavior Modeling in CTR Prediction"☆57Updated last year
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆44Updated last year
- Latent Diffusion Language Models☆68Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 10 months ago
- A fast implementation of T5/UL2 in PyTorch using Flash Attention☆85Updated last week
- Explorations into the recently proposed Taylor Series Linear Attention☆94Updated 7 months ago
- ☆52Updated 8 months ago
- ☆51Updated 2 years ago
- ☆29Updated 2 years ago
- Code Release for "Broken Neural Scaling Laws" (BNSL) paper☆58Updated last year
- LayerNorm(SmallInit(Embedding)) in a Transformer to improve convergence☆60Updated 3 years ago
- Yet another random morning idea to be quickly tried and architecture shared if it works; to allow the transformer to pause for any amount…☆53Updated last year
- My explorations into editing the knowledge and memories of an attention network☆34Updated 2 years ago
- ☆33Updated last year
- FairSeq repo with Apollo optimizer☆110Updated last year
- ☆90Updated last year
- ☆81Updated 7 months ago
- Implementation of some personal helper functions for Einops, my most favorite tensor manipulation library ❤️☆54Updated 2 years ago
- ☆64Updated 6 months ago