evelinehong / Transformer_Relative_Position_PyTorchLinks
Implement the paper "Self-Attention with Relative Position Representations"
☆138Updated 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☆154Updated 6 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆369Updated last year
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆196Updated 2 years ago
- Transformer-based Conditional Variational Autoencoder for Controllable Story Generation☆156Updated 3 years ago
- Official Implementation for the ICML2022 paper "Directed Acyclic Transformer for Non-Autoregressive Machine Translation"☆129Updated 2 years ago
- A pytorch &keras implementation and demo of Fastformer.☆189Updated 2 years ago
- Learning to Encode Position for Transformer with Continuous Dynamical Model☆60Updated 5 years ago
- ACL'2023: DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models☆324Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆419Updated 3 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 the InfoNCE loss for self-supervised learning.☆585Updated last year
- ☆882Updated last year
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆166Updated 4 years ago
- [ICLR 2024]EMO: Earth Mover Distance Optimization for Auto-Regressive Language Modeling(https://arxiv.org/abs/2310.04691)☆125Updated last year
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- ☆185Updated last year
- An implementation of local windowed attention for language modeling☆475Updated 2 months ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆252Updated 3 years ago
- Implementation of Linformer for Pytorch☆298Updated last year
- Implementation of Transformer encoder in PyTorch☆67Updated 5 years ago
- pytorch; mask language model ; bert☆72Updated 5 years ago
- About Code release for "Flowformer: Linearizing Transformers with Conservation Flows" (ICML 2022), https://arxiv.org/pdf/2202.06258.pdf☆326Updated last year
- code for Explicit Sparse Transformer☆61Updated 2 years ago
- a pytorch implementation of self-attention with relative position representations☆50Updated 4 years ago
- A simple cross attention that updates both the source and target in one step☆181Updated last month
- A Pytorch Implementation of "Attention is All You Need" and "Weighted Transformer Network for Machine Translation"☆562Updated 4 years ago
- Pytorch implementation of "Block Recurrent Transformers" (Hutchins & Schlag et al., 2022)☆85Updated 3 years ago
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 5 years ago
- An implementation of the efficient attention module.☆321Updated 4 years ago
- 实现了Transformer中的几种位置编码方案☆44Updated 3 years ago