epfml / collaborative-attentionLinks
Code for Multi-Head Attention: Collaborate Instead of Concatenate
☆151Updated 2 years ago
Alternatives and similar repositories for collaborative-attention
Users that are interested in collaborative-attention are comparing it to the libraries listed below
Sorting:
- ☆219Updated 5 years ago
- This repository contains the code for running the character-level Sandwich Transformers from our ACL 2020 paper on Improving Transformer …☆55Updated 4 years ago
- A PyTorch implementation of the paper - "Synthesizer: Rethinking Self-Attention in Transformer Models"☆73Updated 2 years ago
- The official repository for our paper "The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers". We s…☆67Updated 2 years ago
- Implementation of Mixout with PyTorch☆75Updated 2 years ago
- NeurIPS 2019 - Learning Data Manipulation for Augmentation and Weighting☆110Updated 5 years ago
- Implementation of Sparsemax activation in Pytorch☆163Updated 5 years ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆120Updated 4 years ago
- MTAdam: Automatic Balancing of Multiple Training Loss Terms☆36Updated 4 years ago
- ☆62Updated 3 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆120Updated 4 years ago
- Implementation of the retriever distillation procedure as outlined in the paper "Distilling Knowledge from Reader to Retriever"☆32Updated 4 years ago
- Fully featured implementation of Routing Transformer☆297Updated 3 years ago
- Hard-Coded Gaussian Attention for Neural Machine Translation☆36Updated 2 years ago
- Cascaded Text Generation with Markov Transformers☆129Updated 2 years ago
- Code for the ICML'20 paper "Improving Transformer Optimization Through Better Initialization"☆89Updated 4 years ago
- Understanding the Difficulty of Training Transformers☆330Updated 3 years ago
- Checking the interpretability of attention on text classification models☆49Updated 6 years ago
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆133Updated 4 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆105Updated 4 years ago
- [EMNLP'19] Summary for Transformer Understanding☆53Updated 5 years ago
- Transformers without Tears: Improving the Normalization of Self-Attention☆133Updated last year
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆166Updated 4 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
- Implementation of Feedback Transformer in Pytorch☆107Updated 4 years ago
- A simple module consistently outperforms self-attention and Transformer model on main NMT datasets with SoTA performance.☆85Updated 2 years ago
- Trains Transformer model variants. Data isn't shuffled between batches.☆143Updated 2 years ago
- Language Model Baselines for PyTorch☆41Updated 5 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 3 years ago
- Variational Transformers for Diverse Response Generation☆81Updated last year