santient / sparse-transformer
Sparse Transformer with limited attention span in PyTorch
☆12Updated 3 years ago
Alternatives and similar repositories for sparse-transformer:
Users that are interested in sparse-transformer are comparing it to the libraries listed below
- Unofficial PyTorch implementation of the paper "cosFormer: Rethinking Softmax In Attention".☆44Updated 3 years ago
- Sparse Attention with Linear Units☆17Updated 3 years ago
- custom pytorch implementation of MoCo v3☆45Updated 3 years ago
- Implementation of Mogrifier LSTM in PyTorch☆35Updated 4 years ago
- ☆57Updated 3 years ago
- Pytorch implementation of Performer from the paper "Rethinking Attention with Performers".☆24Updated 4 years ago
- Reproducing the Linear Multihead Attention introduced in Linformer paper (Linformer: Self-Attention with Linear Complexity)☆73Updated 4 years ago
- Mask Attention Networks: Rethinking and Strengthen Transformer in NAACL2021☆14Updated 3 years ago
- PyTorch implementation of Pay Attention to MLPs☆40Updated 3 years ago
- code for Explicit Sparse Transformer☆60Updated last year
- [ICLR 2023] “ Layer Grafted Pre-training: Bridging Contrastive Learning And Masked Image Modeling For Better Representations”, Ziyu Jian…☆23Updated 2 years ago
- Locally Enhanced Self-Attention: Rethinking Self-Attention as Local and Context Terms☆20Updated 3 years ago
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 4 years ago
- WeightNet: Revisiting the Design Space of Weight Networks☆19Updated 4 years ago
- ☆16Updated last year
- Implementation of Cross Transformer for spatially-aware few-shot transfer, in Pytorch☆51Updated 3 years ago
- ☆24Updated 4 years ago
- MixPath: A Unified Approach for One-shot Neural Architecture Search☆28Updated 4 years ago
- ☆42Updated 3 years ago
- Code for "Understanding and Improving Layer Normalization"☆46Updated 5 years ago
- The official implementation of You Only Compress Once: Towards Effective and Elastic BERT Compression via Exploit-Explore Stochastic Natu…☆48Updated 3 years ago
- A pytorch realization of adafactor (https://arxiv.org/pdf/1804.04235.pdf )☆23Updated 5 years ago
- CaCo: Both Positive and Negative Samples are Directly Learnable via Cooperative-adversarial Contrastive Learning☆19Updated 11 months ago
- Official code for "Dynamic Token Normalization Improves Vision Transformer", ICLR 2022.☆28Updated 2 years ago
- categorical variational autoencoder using the Gumbel-Softmax estimator☆25Updated 5 years ago
- ☆13Updated 3 years ago
- S2-BNN: Bridging the Gap Between Self-Supervised Real and 1-bit Neural Networks via Guided Distribution Calibration (CVPR 2021)☆64Updated 3 years ago
- This repository contains the code for the paper in Findings of EMNLP 2021: "EfficientBERT: Progressively Searching Multilayer Perceptron …☆32Updated last year
- [NeurIPS 2022 Spotlight] This is the official PyTorch implementation of "EcoFormer: Energy-Saving Attention with Linear Complexity"☆70Updated 2 years ago
- [ICCV 2021] MosaicOS: A Simple and Effective Use of Object-Centric Images for Long-Tailed Object Detection☆29Updated 3 years ago