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
- Multi-head attention in PyTorch☆152Updated 6 years ago
- code for Explicit Sparse Transformer☆60Updated last year
- Transformer-based Conditional Variational Autoencoder for Controllable Story Generation☆155Updated 2 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"☆361Updated last year
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆190Updated 2 years ago
- ☆83Updated 5 years ago
- ☆172Updated 9 months ago
- PyTorch implementation of beam search decoding for seq2seq models☆337Updated 2 years ago
- A pytorch &keras implementation and demo of Fastformer.☆188Updated 2 years ago
- pytorch; mask language model ; bert☆72Updated 5 years ago
- [ICLR 2024]EMO: Earth Mover Distance Optimization for Auto-Regressive Language Modeling(https://arxiv.org/abs/2310.04691)☆121Updated last year
- ACL'2023: DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models☆307Updated last year
- PyTorch implementation for Seq2Seq model with attention and Greedy Search / Beam Search for neural machine translation☆58Updated 4 years ago
- Text Diffusion Model with Encoder-Decoder Transformers for Sequence-to-Sequence Generation [NAACL 2024]☆94Updated last year
- Learning to Encode Position for Transformer with Continuous Dynamical Model☆59Updated 4 years ago
- ☆876Updated 11 months ago
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 4 years ago
- Unofficial Pytorch implementation of MiniLM and MiniLMv2☆21Updated 3 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 Pay Attention to MLPs☆40Updated 3 years ago
- Official Implementation for the ICML2022 paper "Directed Acyclic Transformer for Non-Autoregressive Machine Translation"☆125Updated last year
- Implementation of Transformer encoder in PyTorch☆66Updated 4 years ago
- Source code of LatentOps☆78Updated last year
- A paper list about diffusion models for natural language processing.☆182Updated last year
- PyTorch implementation of "Effective Approaches to Attention-based Neural Machine Translation" using scheduled sampling to improve the pa…☆38Updated 7 years ago
- Reproducing the Linear Multihead Attention introduced in Linformer paper (Linformer: Self-Attention with Linear Complexity)☆76Updated 4 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
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆164Updated 4 years ago
- 实现了Transformer中的几种位置编码方案☆42Updated 3 years ago