evelinehong / Transformer_Relative_Position_PyTorchLinks
Implement the paper "Self-Attention with Relative Position Representations"
☆139Updated 5 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:
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆371Updated 2 years ago
- Multi-head attention in PyTorch☆156Updated 6 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆197Updated 3 years ago
- A pytorch &keras implementation and demo of Fastformer.☆191Updated 3 years ago
- ACL'2023: DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models☆339Updated last year
- ☆881Updated last year
- PyTorch implementation of the InfoNCE loss for self-supervised learning.☆608Updated 2 years ago
- Transformer-based Conditional Variational Autoencoder for Controllable Story Generation☆163Updated 3 years ago
- An implementation of local windowed attention for language modeling☆494Updated 6 months ago
- Official Implementation for the ICML2022 paper "Directed Acyclic Transformer for Non-Autoregressive Machine Translation"☆133Updated 2 years ago
- My take on a practical implementation of Linformer for Pytorch.☆422Updated 3 years ago
- Pytorch implementation of the GradNorm. GradNorm addresses the problem of balancing multiple losses for multi-task learning by learning a…☆272Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆261Updated 4 years ago
- Implementation of Transformer encoder in PyTorch☆70Updated 5 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 3 years ago
- Pytorch implementation of "Block Recurrent Transformers" (Hutchins & Schlag et al., 2022)☆85Updated 3 years ago
- ☆187Updated last year
- A Pytorch Implementation of "Attention is All You Need" and "Weighted Transformer Network for Machine Translation"☆575Updated 5 years ago
- Implementation of Linformer for Pytorch☆306Updated 2 years ago
- An implementation of the efficient attention module.☆327Updated 5 years ago
- A simple cross attention that updates both the source and target in one step☆194Updated 5 months ago
- 实现了Transformer中的几种位置编码方案☆44Updated 4 years ago
- Learning to Encode Position for Transformer with Continuous Dynamical Model☆59Updated 5 years ago
- RoFormer V1 & V2 pytorch☆519Updated 3 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆253Updated 4 years ago
- PyTorch implementation of beam search decoding for seq2seq models☆339Updated 3 years ago
- a pytorch implementation of self-attention with relative position representations☆50Updated 4 years ago
- [ICLR 2024]EMO: Earth Mover Distance Optimization for Auto-Regressive Language Modeling(https://arxiv.org/abs/2310.04691)☆128Updated last year
- Pytorch reimplementation for "Gradient Surgery for Multi-Task Learning"☆392Updated 4 years ago
- Code release for "LogME: Practical Assessment of Pre-trained Models for Transfer Learning" (ICML 2021) and Ranking and Tuning Pre-trained…☆211Updated 2 years ago