minhtannguyen / transformer-mgk
This is the public github for our paper "Transformer with a Mixture of Gaussian Keys"
☆26Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for transformer-mgk
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆59Updated 2 years ago
- Code for the PAPA paper☆27Updated 2 years ago
- ☆21Updated last year
- [ICLR 2023] “ Layer Grafted Pre-training: Bridging Contrastive Learning And Masked Image Modeling For Better Representations”, Ziyu Jian…☆23Updated last year
- Structured Pruning Adapters in PyTorch☆15Updated last year
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated this week
- Implementation of Cross Transformer for spatially-aware few-shot transfer, in Pytorch☆51Updated 3 years ago
- [NeurIPS 2022] Your Transformer May Not be as Powerful as You Expect (official implementation)☆33Updated last year
- PyTorch implementation of CorInfoMax☆21Updated last year
- A project to add scalable state-of-the-art out-of-distribution detection (open set recognition) support by changing two lines of code! Pe…☆74Updated 2 years ago
- The official repository for our paper "The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns …☆16Updated 11 months ago
- MODALS: Modality-agnostic Automated Data Augmentation in the Latent Space☆40Updated 3 years ago
- Pytorch Implementation for "Preserving Linear Separability in Continual Learning by Backward Feature Projection" (CVPR 2023)☆18Updated last year
- PyTorch, PyTorch Lightning framework for trying knowledge distillation in image classification problems☆31Updated 3 months ago
- A regularized self-labeling approach to improve the generalization and robustness of fine-tuned models☆27Updated 2 years ago
- Deep Learning & Information Bottleneck☆50Updated last year
- Implementation of TableFormer, Robust Transformer Modeling for Table-Text Encoding, in Pytorch☆35Updated 2 years ago
- PyTorch implementation of FNet: Mixing Tokens with Fourier transforms☆25Updated 3 years ago
- ☆32Updated 3 years ago
- HGRN2: Gated Linear RNNs with State Expansion☆48Updated 2 months ago
- Implementation of "compositional attention" from MILA, a multi-head attention variant that is reframed as a two-step attention process wi…☆50Updated 2 years ago
- Official Code for ICLR 2024 Paper: Non-negative Contrastive Learning☆36Updated 6 months ago
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆44Updated last year
- Position Prediction as an Effective Pretraining Strategy☆8Updated last year
- Learnable Fourier Features for Multi-Dimensional Spatial Positional Encoding☆42Updated last month
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆94Updated last year
- ☆26Updated 2 years ago
- PyTorch implementation of Soft MoE by Google Brain in "From Sparse to Soft Mixtures of Experts" (https://arxiv.org/pdf/2308.00951.pdf)☆64Updated last year
- Official Pytorch Implementation for "Continual Transformers: Redundancy-Free Attention for Online Inference" [ICLR 2023]☆28Updated last year
- Benchmark for Data-Efficient Image Classification☆23Updated last year