xyltt / Linear-TransformerLinks
Transformer are RNNs: Fast Autoregressive Transformer with Linear Attention
☆24Updated 5 years ago
Alternatives and similar repositories for Linear-Transformer
Users that are interested in Linear-Transformer are comparing it to the libraries listed below
Sorting:
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆197Updated 3 years ago
- Implementation of AAAI 2022 Paper: Go wider instead of deeper☆32Updated 3 years ago
- code for Explicit Sparse Transformer☆61Updated 2 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆371Updated 2 years ago
- Recent Advances in MLP-based Models (MLP is all you need!)☆117Updated 3 years ago
- PyTorch implementation of Pay Attention to MLPs☆40Updated 4 years ago
- An implementation of the efficient attention module.☆327Updated 5 years ago
- ☆64Updated 5 years ago
- ☆33Updated 4 years ago
- Code for the AAAI 2022 publication "Well-classified Examples are Underestimated in Classification with Deep Neural Networks"☆54Updated 3 years ago
- Reproducing the Linear Multihead Attention introduced in Linformer paper (Linformer: Self-Attention with Linear Complexity)☆75Updated 5 years ago
- A pytorch &keras implementation and demo of Fastformer.☆191Updated 3 years ago
- Implement the paper "Self-Attention with Relative Position Representations"☆139Updated 5 years ago
- [ICLR 2024]EMO: Earth Mover Distance Optimization for Auto-Regressive Language Modeling(https://arxiv.org/abs/2310.04691)☆128Updated last year
- Sparse Attention with Linear Units☆20Updated 4 years ago
- Pytorch implementation of the GradNorm. GradNorm addresses the problem of balancing multiple losses for multi-task learning by learning a…☆272Updated 3 years ago
- A Tight-fisted Optimizer (Tiger), implemented in PyTorch.☆12Updated last year
- [ICLR 2022] "Anti-Oversmoothing in Deep Vision Transformers via the Fourier Domain Analysis: From Theory to Practice" by Peihao Wang, Wen…☆82Updated 2 years ago
- Source code for our AAAI'22 paper 《From Dense to Sparse: Contrastive Pruning for Better Pre-trained Language Model Compression》☆25Updated 4 years ago
- CVPR2022, BatchFormer: Learning to Explore Sample Relationships for Robust Representation Learning, https://arxiv.org/abs/2203.01522☆254Updated 2 years ago
- Multi-head attention in PyTorch☆156Updated 6 years ago
- ☆152Updated last year
- [AAAI 2022] This is the official PyTorch implementation of "Less is More: Pay Less Attention in Vision Transformers"☆97Updated 3 years ago
- The pure and clear PyTorch Distributed Training Framework.☆275Updated 2 years ago
- Mixture of Attention Heads☆51Updated 3 years ago
- ☆201Updated 2 years ago
- [ICLR 2022] "Unified Vision Transformer Compression" by Shixing Yu*, Tianlong Chen*, Jiayi Shen, Huan Yuan, Jianchao Tan, Sen Yang, Ji Li…☆55Updated 2 years ago
- BM-NAS: Bilevel Multimodal Neural Architecture Search (AAAI 2022 Oral)☆19Updated 3 years ago
- Mask Attention Networks: Rethinking and Strengthen Transformer in NAACL2021☆14Updated 4 years ago
- Unofficial Implementation of MLP-Mixer, gMLP, resMLP, Vision Permutator, S2MLP, S2MLPv2, RaftMLP, HireMLP, ConvMLP, AS-MLP, SparseMLP, Co…☆170Updated 3 years ago