evelinehong / Transformer_Relative_Position_PyTorchLinks
Implement the paper "Self-Attention with Relative Position Representations"
☆135Updated 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☆153Updated 6 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆366Updated last year
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆194Updated 2 years ago
- Transformer-based Conditional Variational Autoencoder for Controllable Story Generation☆155Updated 3 years ago
- A pytorch &keras implementation and demo of Fastformer.☆189Updated 2 years ago
- Implementation of Linformer for Pytorch☆292Updated last year
- 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
- My take on a practical implementation of Linformer for Pytorch.☆416Updated 2 years ago
- Implementation of Transformer encoder in PyTorch☆66Updated 4 years ago
- ACL'2023: DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models☆312Updated last year
- ☆879Updated last year
- PyTorch implementation of the InfoNCE loss for self-supervised learning.☆565Updated last year
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- An implementation of local windowed attention for language modeling☆459Updated 6 months ago
- pytorch; mask language model ; bert☆72Updated 5 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆164Updated 4 years ago
- Pytorch implementation of "Block Recurrent Transformers" (Hutchins & Schlag et al., 2022)☆84Updated 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
- Official Implementation for the ICML2022 paper "Directed Acyclic Transformer for Non-Autoregressive Machine Translation"☆126Updated last year
- [ICLR 2024]EMO: Earth Mover Distance Optimization for Auto-Regressive Language Modeling(https://arxiv.org/abs/2310.04691)☆123Updated last year
- code for Explicit Sparse Transformer☆62Updated last year
- Learning to Encode Position for Transformer with Continuous Dynamical Model☆60Updated 4 years ago
- a pytorch implementation of self-attention with relative position representations☆50Updated 4 years ago
- A Pytorch Implementation of "Attention is All You Need" and "Weighted Transformer Network for Machine Translation"☆559Updated 4 years ago
- ☆179Updated 11 months ago
- PyTorch implementation of beam search decoding for seq2seq models☆337Updated 2 years ago
- This repository is an implementation for the loss function proposed in https://arxiv.org/pdf/2110.06848.pdf.☆115Updated 3 years ago
- A simple cross attention that updates both the source and target in one step☆172Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- ☆83Updated 5 years ago