twistedcubic / attention-rank-collapseLinks
[ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.
☆165Updated 4 years ago
Alternatives and similar repositories for attention-rank-collapse
Users that are interested in attention-rank-collapse are comparing it to the libraries listed below
Sorting:
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆264Updated 3 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆193Updated 2 years ago
- Fully featured implementation of Routing Transformer☆295Updated 3 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆119Updated 3 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated 2 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆251Updated 3 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆105Updated 4 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆118Updated 4 years ago
- Awesome Contrastive Learning for CV & NLP☆163Updated 3 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆408Updated 10 months ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆120Updated 4 years ago
- NeurIPS 2020, Debiased Contrastive Learning☆282Updated 2 years ago
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 5 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆160Updated 3 years ago
- Understanding Training Dynamics of Deep ReLU Networks☆293Updated last month
- Understanding the Difficulty of Training Transformers☆329Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆414Updated 2 years ago
- [ICML 2020] code for the flooding regularizer proposed in "Do We Need Zero Training Loss After Achieving Zero Training Error?"☆92Updated 2 years ago
- PyTorch implementation of a Variational Autoencoder with Gumbel-Softmax Distribution☆208Updated 6 years ago
- ☆46Updated 2 years ago
- Code to reproduce the results for Compositional Attention☆60Updated 2 years ago
- Official codebase for Pretrained Transformers as Universal Computation Engines.☆247Updated 3 years ago
- Implementation of Feedback Transformer in Pytorch☆107Updated 4 years ago
- A pytorch &keras implementation and demo of Fastformer.☆189Updated 2 years ago
- Axial Positional Embedding for Pytorch☆81Updated 3 months ago
- Implementation of Fast Transformer in Pytorch☆175Updated 3 years ago
- An attempt at the implementation of Glom, Geoffrey Hinton's new idea that integrates concepts from neural fields, top-down-bottom-up proc…☆194Updated 4 years ago
- ☆84Updated 4 years ago
- Implementation of Sparsemax activation in Pytorch☆160Updated 5 years ago