evelinehong / Transformer_Relative_Position_PyTorch
Implement the paper "Self-Attention with Relative Position Representations"
☆128Updated 4 years ago
Alternatives and similar repositories for Transformer_Relative_Position_PyTorch
Users that are interested in Transformer_Relative_Position_PyTorch are comparing it to the libraries listed below
Sorting:
- Multi-head attention in PyTorch☆152Updated 6 years ago
- a pytorch implementation of self-attention with relative position representations☆50Updated 4 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆362Updated last year
- Transformer-based Conditional Variational Autoencoder for Controllable Story Generation☆155Updated 2 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆192Updated 2 years ago
- Learning to Encode Position for Transformer with Continuous Dynamical Model☆59Updated 4 years ago
- Implementation of Linformer for Pytorch☆286Updated last year
- pytorch; mask language model ; bert☆72Updated 5 years ago
- Pytorch implementation of "Block Recurrent Transformers" (Hutchins & Schlag et al., 2022)☆84Updated 3 years ago
- A PyTorch implementation of Transformer in "Attention is All You Need"☆105Updated 4 years ago
- ☆173Updated 9 months ago
- My take on a practical implementation of Linformer for Pytorch.☆415Updated 2 years ago
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 4 years ago
- A pytorch &keras implementation and demo of Fastformer.☆188Updated 2 years ago
- An implementation of local windowed attention for language modeling☆449Updated 4 months ago
- ☆83Updated 5 years ago
- Reproducing the Linear Multihead Attention introduced in Linformer paper (Linformer: Self-Attention with Linear Complexity)☆76Updated 4 years ago
- Official Implementation for the ICML2022 paper "Directed Acyclic Transformer for Non-Autoregressive Machine Translation"☆125Updated last year
- ☆879Updated 11 months ago
- Implementation of Transformer encoder in PyTorch☆66Updated 4 years ago
- code for Explicit Sparse Transformer☆62Updated last year
- PyTorch implementation of beam search decoding for seq2seq models☆337Updated 2 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆251Updated 3 years ago
- PyTorch implementation of "Effective Approaches to Attention-based Neural Machine Translation" using scheduled sampling to improve the pa…☆38Updated 7 years ago
- PyTorch implementation of Pay Attention to MLPs☆40Updated 3 years ago
- PyTorch implementation for Seq2Seq model with attention and Greedy Search / Beam Search for neural machine translation☆58Updated 4 years ago
- An implementation of the efficient attention module.☆310Updated 4 years ago
- For paper《Gaussian Transformer: A Lightweight Approach for Natural Language Inference》☆28Updated 5 years ago
- Code for the ACL2020 paper Character-Level Translation with Self-Attention☆31Updated 4 years ago
- A masked language modeling objective to train a model to predict any subset of the target words, conditioned on both the input text and a…☆242Updated 3 years ago