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
- ☆83Updated 5 years ago
- LAnguage Modelling Benchmarks☆137Updated 5 years ago
- Implementation of Universal Transformer in Pytorch☆259Updated 6 years ago
- ☆218Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆414Updated 2 years ago
- This repository contain various types of attention mechanism like Bahdanau , Soft attention , Additive Attention , Hierarchical Attention…☆125Updated 3 years ago
- An LSTM in PyTorch with best practices (weight dropout, forget bias, etc.) built-in. Fully compatible with PyTorch LSTM.☆133Updated 5 years ago
- [ICLR'19] Trellis Networks for Sequence Modeling☆472Updated 5 years ago
- Transformer training code for sequential tasks☆612Updated 3 years ago
- Efficient Transformers for research, PyTorch and Tensorflow using Locality Sensitive Hashing☆95Updated 5 years ago
- The Noise Contrastive Estimation for softmax output written in Pytorch☆318Updated 5 years ago
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Generative Flow based Sequence-to-Sequence Toolkit written in Python.☆245Updated 5 years ago
- A wrapper layer for stacking layers horizontally☆228Updated 3 years ago
- Using Pytorch's nn.Transformer module to create an english to french neural machine translation model.☆77Updated 4 years ago
- PyTorch implementation of batched bi-RNN encoder and attention-decoder.☆279Updated 6 years ago
- Implements Reformer: The Efficient Transformer in pytorch.☆85Updated 5 years ago
- Keras implement of ON-LSTM (Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks)☆156Updated 5 years ago
- Code for the paper "Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks"☆579Updated 5 years ago
- A pytorch implementation of the paper: "Skip RNN: Learning to Skip State Updates in Recurrent Neural Networks"☆81Updated 6 years ago
- A simple module consistently outperforms self-attention and Transformer model on main NMT datasets with SoTA performance.☆86Updated last year
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- Minimal Seq2Seq model with Attention for Neural Machine Translation in PyTorch☆699Updated 4 years ago
- PyTorch DataLoader for seq2seq☆85Updated 6 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆262Updated 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
- Hierarchical Attention Networks for Document Classification in PyTorch☆36Updated 6 years ago
- Easy to use NLP library built on PyTorch and TorchText☆255Updated 5 years ago
- Scripts to train a bidirectional LSTM with knowledge distillation from BERT☆158Updated 5 years ago