ischlag / fast-weight-transformers
Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.
☆104Updated 3 years ago
Alternatives and similar repositories for fast-weight-transformers:
Users that are interested in fast-weight-transformers are comparing it to the libraries listed below
- Official repository for the paper "Going Beyond Linear Transformers with Recurrent Fast Weight Programmers" (NeurIPS 2021)☆48Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 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
- A custom PyTorch layer that is capable of implementing extremely wide and sparse linear layers efficiently☆49Updated last year
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆119Updated 3 years ago
- CUDA kernels for generalized matrix-multiplication in PyTorch☆79Updated 3 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated last year
- ☆33Updated 4 years ago
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆80Updated 3 years ago
- Fast Discounted Cumulative Sums in PyTorch☆95Updated 3 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- A GPT, made only of MLPs, in Jax☆57Updated 3 years ago
- Drop-in replacement for any ResNet with a significantly reduced memory footprint and better representation capabilities☆209Updated 11 months ago
- Sequence Modeling with Structured State Spaces☆63Updated 2 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆115Updated 4 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- Easy-to-use AdaHessian optimizer (PyTorch)☆78Updated 4 years ago
- Reparameterize your PyTorch modules☆70Updated 4 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- ☆99Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- An implementation of Transformer with Expire-Span, a circuit for learning which memories to retain☆33Updated 4 years ago
- 🧀 Pytorch code for the Fromage optimiser.☆123Updated 9 months ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- GPT, but made only out of MLPs☆88Updated 3 years ago
- Code to reproduce the results for Compositional Attention☆60Updated 2 years ago
- Differentiable Sorting Networks☆114Updated last year
- A Pytorch implementation of the optimal transport kernel embedding☆116Updated 4 years ago
- FairSeq repo with Apollo optimizer☆114Updated last year
- ☆164Updated 2 years ago