DSE-MSU / R-transformer
Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.
☆228Updated 5 years ago
Alternatives and similar repositories for R-transformer:
Users that are interested in R-transformer are comparing it to the libraries listed below
- Minimal RNN classifier with self-attention in Pytorch☆150Updated 3 years ago
- LAnguage Modelling Benchmarks☆137Updated 4 years ago
- Implementation of Universal Transformer in Pytorch☆259Updated 6 years ago
- An LSTM in PyTorch with best practices (weight dropout, forget bias, etc.) built-in. Fully compatible with PyTorch LSTM.☆132Updated 5 years ago
- ☆216Updated 4 years ago
- ☆83Updated 5 years ago
- My take on a practical implementation of Linformer for Pytorch.☆413Updated 2 years ago
- Code for the paper "Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks"☆579Updated 5 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆250Updated 3 years ago
- [ICLR'19] Trellis Networks for Sequence Modeling☆472Updated 5 years ago
- PyTorch implementations of LSTM Variants (Dropout + Layer Norm)☆136Updated 3 years ago
- PyTorch implementation of batched bi-RNN encoder and attention-decoder.☆279Updated 6 years ago
- ☆76Updated 5 years ago
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆606Updated 8 months ago
- Generative Flow based Sequence-to-Sequence Toolkit written in Python.☆244Updated 5 years ago
- Efficient Transformers for research, PyTorch and Tensorflow using Locality Sensitive Hashing☆94Updated 5 years ago
- Transformer training code for sequential tasks☆610Updated 3 years ago
- A wrapper layer for stacking layers horizontally☆228Updated 3 years ago
- Fully featured implementation of Routing Transformer☆289Updated 3 years ago
- Easy to use NLP library built on PyTorch and TorchText☆255Updated 5 years ago
- A Structured Self-attentive Sentence Embedding☆492Updated 5 years ago
- This repository contain various types of attention mechanism like Bahdanau , Soft attention , Additive Attention , Hierarchical Attention…☆125Updated 3 years ago
- PyTorch DataLoader for seq2seq☆84Updated 6 years ago
- Multi-head attention in PyTorch☆150Updated 6 years ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆428Updated 9 months ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated last year
- A simple module consistently outperforms self-attention and Transformer model on main NMT datasets with SoTA performance.☆86Updated last year
- Source Code for DialogWAE: Multimodal Response Generation with Conditional Wasserstein Autoencoder (https://arxiv.org/abs/1805.12352)☆125Updated 6 years ago
- A pytorch implementation of Fairseq Convolutional Sequence to Sequence Learning(Gehring et al. 2017)☆44Updated 6 years ago
- Sequence to Sequence Models in PyTorch☆44Updated 7 months ago