evelinehong / Transformer_Relative_Position_PyTorchLinks
Implement the paper "Self-Attention with Relative Position Representations"
☆133Updated 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:
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆364Updated last year
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆193Updated 2 years ago
- Transformer-based Conditional Variational Autoencoder for Controllable Story Generation☆156Updated 3 years ago
- Learning to Encode Position for Transformer with Continuous Dynamical Model☆60Updated 4 years ago
- Multi-head attention in PyTorch☆152Updated 6 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)☆123Updated last year
- 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
- code for Explicit Sparse Transformer☆62Updated last year
- ACL'2023: DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models☆309Updated last year
- Implementation of Linformer for Pytorch☆288Updated last year
- Official Implementation for the ICML2022 paper "Directed Acyclic Transformer for Non-Autoregressive Machine Translation"☆125Updated last year
- An implementation of local windowed attention for language modeling☆454Updated 5 months ago
- pytorch; mask language model ; bert☆72Updated 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 2 years ago
- My take on a practical implementation of Linformer for Pytorch.☆414Updated 2 years ago
- 基于Gated Attention Unit的Transformer模型(尝鲜版)☆98Updated 2 years ago
- Fully featured implementation of Routing Transformer☆295Updated 3 years ago
- PyTorch implementation of Pay Attention to MLPs☆40Updated 3 years ago
- 实现了Transformer中的几种位置编码方案☆44Updated 3 years ago
- For paper《Gaussian Transformer: A Lightweight Approach for Natural Language Inference》☆28Updated 5 years ago
- Text Diffusion Model with Encoder-Decoder Transformers for Sequence-to-Sequence Generation [NAACL 2024]☆96Updated last year
- A pytorch &keras implementation and demo of Fastformer.☆189Updated 2 years ago
- ☆89Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Reparameterized Discrete Diffusion Models for Text Generation☆99Updated 2 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆165Updated 4 years ago
- 一些RNN的实现☆50Updated 2 years ago
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 5 years ago