evelinehong / Transformer_Relative_Position_PyTorch
Implement the paper "Self-Attention with Relative Position Representations"
☆127Updated 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
- Multi-head attention in PyTorch☆150Updated 6 years ago
- Transformer-based Conditional Variational Autoencoder for Controllable Story Generation☆152Updated 2 years ago
- Learning to Encode Position for Transformer with Continuous Dynamical Model☆59Updated 4 years ago
- Official Implementation for the ICML2022 paper "Directed Acyclic Transformer for Non-Autoregressive Machine Translation"☆124Updated last year
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆359Updated last year
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆187Updated 2 years ago
- code for Explicit Sparse Transformer☆60Updated last year
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆250Updated 3 years ago
- A pytorch &keras implementation and demo of Fastformer.☆187Updated 2 years ago
- a pytorch implementation of self-attention with relative position representations☆50Updated 4 years ago
- Implementation of Linformer for Pytorch☆272Updated last year
- An implementation of local windowed attention for language modeling☆424Updated last month
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 4 years ago
- pytorch; mask language model ; bert☆72Updated 5 years ago
- PyTorch implementation of beam search decoding for seq2seq models☆337Updated 2 years ago
- ACL'2023: DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models☆304Updated last year
- Text Diffusion Model with Encoder-Decoder Transformers for Sequence-to-Sequence Generation [NAACL 2024]☆93Updated last year
- ☆168Updated 7 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- Official code for the NAACL 2022 paper "Fuse It More Deeply! A Variational Transformer with Layer-Wise Latent Variable Inference for Text…☆35Updated 2 years ago
- A simple cross attention that updates both the source and target in one step☆164Updated 10 months ago
- PyTorch implementation for Seq2Seq model with attention and Greedy Search / Beam Search for neural machine translation☆58Updated 3 years ago
- Reproducing the Linear Multihead Attention introduced in Linformer paper (Linformer: Self-Attention with Linear Complexity)☆73Updated 4 years ago
- ☆83Updated 5 years ago
- 实现了Transformer中的几种位置编码方案☆40Updated 3 years ago
- Pytorch implementation of "Block Recurrent Transformers" (Hutchins & Schlag et al., 2022)☆84Updated 2 years ago
- ☆12Updated 4 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆112Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆412Updated 2 years ago
- Tracking the progress in non-autoregressive generation (translation, transcription, etc.)☆307Updated last year