DSE-MSU / R-transformer
Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.
☆224Updated 5 years ago
Related projects ⓘ
Alternatives and complementary repositories for R-transformer
- Minimal RNN classifier with self-attention in Pytorch☆150Updated 2 years ago
- An LSTM in PyTorch with best practices (weight dropout, forget bias, etc.) built-in. Fully compatible with PyTorch LSTM.☆133Updated 4 years ago
- ☆212Updated 4 years ago
- LAnguage Modelling Benchmarks☆137Updated 4 years ago
- Implementation of Universal Transformer in Pytorch☆258Updated 6 years ago
- PyTorch implementation of batched bi-RNN encoder and attention-decoder.☆279Updated 5 years ago
- ☆83Updated 5 years ago
- [ICLR'19] Trellis Networks for Sequence Modeling☆473Updated 5 years ago
- My take on a practical implementation of Linformer for Pytorch.☆407Updated 2 years ago
- This repository contain various types of attention mechanism like Bahdanau , Soft attention , Additive Attention , Hierarchical Attention…☆122Updated 3 years ago
- PyTorch implementations of LSTM Variants (Dropout + Layer Norm)☆136Updated 3 years ago
- Efficient Transformers for research, PyTorch and Tensorflow using Locality Sensitive Hashing☆93Updated 4 years ago
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆598Updated 4 months ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆250Updated 3 years ago
- Implements Reformer: The Efficient Transformer in pytorch.☆84Updated 4 years ago
- Code for the paper "Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks"☆578Updated 5 years ago
- Generative Flow based Sequence-to-Sequence Toolkit written in Python.☆244Updated 4 years ago
- A pytorch implementation of Fairseq Convolutional Sequence to Sequence Learning(Gehring et al. 2017)☆44Updated 5 years ago
- Fully featured implementation of Routing Transformer☆284Updated 3 years ago
- Pytorch Implementation of ALBERT(A Lite BERT for Self-supervised Learning of Language Representations)☆225Updated 3 years ago
- ☆76Updated 4 years ago
- A wrapper layer for stacking layers horizontally☆227Updated 2 years ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆416Updated 4 months ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆253Updated 3 years ago
- A simple module consistently outperforms self-attention and Transformer model on main NMT datasets with SoTA performance.☆87Updated last year
- A quick walk-through of the innards of LSTMs and a naive implementation of the Mogrifier LSTM paper in PyTorch☆74Updated 4 years ago
- Transformer training code for sequential tasks☆609Updated 3 years ago
- Keras implement of ON-LSTM (Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks)☆154Updated 5 years ago
- PyTorch implementation of beam search decoding for seq2seq models☆336Updated last year
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago