ischlag / fast-weight-transformers
Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.
☆100Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for fast-weight-transformers
- The official repository for our paper "The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers". We s…☆66Updated last year
- Official repository for the paper "Going Beyond Linear Transformers with Recurrent Fast Weight Programmers" (NeurIPS 2021)☆47Updated last year
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆95Updated last year
- CUDA kernels for generalized matrix-multiplication in PyTorch☆79Updated 3 years ago
- Sequence Modeling with Structured State Spaces☆60Updated 2 years ago
- Fast Discounted Cumulative Sums in PyTorch☆95Updated 3 years ago
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆79Updated 3 years ago
- An implementation of Transformer with Expire-Span, a circuit for learning which memories to retain☆33Updated 4 years ago
- Easy-to-use AdaHessian optimizer (PyTorch)☆77Updated 4 years ago
- An implementation of 2021 paper by Geoffrey Hinton: "How to represent part-whole hierarchies in a neural network" in Pytorch.☆57Updated 3 years ago
- A GPT, made only of MLPs, in Jax☆55Updated 3 years ago
- Differentiable Sorting Networks☆107Updated last year
- Code for the paper PermuteFormer☆42Updated 3 years ago
- ☆32Updated 3 years ago
- Structured matrices for compressing neural networks☆67Updated last year
- Implementation of Feedback Transformer in Pytorch☆104Updated 3 years ago
- [NeurIPS 2020] Official Implementation: "SMYRF: Efficient Attention using Asymmetric Clustering".☆47Updated last year
- Monotone operator equilibrium networks☆51Updated 4 years ago
- GPT, but made only out of MLPs☆86Updated 3 years ago
- A custom PyTorch layer that is capable of implementing extremely wide and sparse linear layers efficiently☆48Updated 11 months ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆119Updated 3 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- Code to reproduce the results for Compositional Attention☆60Updated 2 years ago
- ☆97Updated 2 years ago
- ☆164Updated last year
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆150Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆253Updated 3 years ago
- Official implementation of the paper "Topographic VAEs learn Equivariant Capsules"☆77Updated 2 years ago
- [ICML'21] Improved Contrastive Divergence Training of Energy Based Models☆62Updated 2 years ago
- Drop-in replacement for any ResNet with a significantly reduced memory footprint and better representation capabilities☆208Updated 6 months ago