epfml / collaborative-attentionLinks
Code for Multi-Head Attention: Collaborate Instead of Concatenate
☆152Updated 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:
- ☆218Updated 5 years ago
- Fully featured implementation of Routing Transformer☆295Updated 3 years ago
- Implementation of Mixout with PyTorch☆75Updated 2 years ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆120Updated 4 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆264Updated 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 the paper "Are Sixteen Heads Really Better than One?"☆172Updated 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
- Cascaded Text Generation with Markov Transformers☆129Updated 2 years ago
- Understanding the Difficulty of Training Transformers☆329Updated 3 years ago
- A PyTorch implementation of the paper - "Synthesizer: Rethinking Self-Attention in Transformer Models"☆73Updated 2 years ago
- Implementation of Feedback Transformer in Pytorch☆107Updated 4 years ago
- FairSeq repo with Apollo optimizer☆114Updated last year
- Implementation of RealFormer using pytorch☆100Updated 4 years ago
- Official Pytorch Implementation of Length-Adaptive Transformer (ACL 2021)☆101Updated 4 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆105Updated 4 years ago
- Code for the ICML'20 paper "Improving Transformer Optimization Through Better Initialization"☆89Updated 4 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆118Updated 4 years ago
- Variational Transformers for Diverse Response Generation☆81Updated 11 months 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
- ☆63Updated 3 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆165Updated 4 years ago
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 5 years ago
- A 🤗-style implementation of BERT using lambda layers instead of self-attention☆69Updated 4 years ago
- Hard-Coded Gaussian Attention for Neural Machine Translation☆36Updated 2 years ago
- NeurIPS 2019 - Learning Data Manipulation for Augmentation and Weighting☆109Updated 4 years ago
- LAnguage Modelling Benchmarks☆137Updated 5 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆227Updated 2 years ago
- Trains Transformer model variants. Data isn't shuffled between batches.☆144Updated 2 years ago