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
- Implementation of Universal Transformer in Pytorch☆259Updated 6 years ago
- ☆83Updated 5 years ago
- LAnguage Modelling Benchmarks☆137Updated 4 years ago
- Minimal RNN classifier with self-attention in Pytorch☆150Updated 3 years ago
- ☆218Updated 4 years ago
- Code for the paper "Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks"☆578Updated 5 years ago
- [ICLR'19] Trellis Networks for Sequence Modeling☆472Updated 5 years ago
- My take on a practical implementation of Linformer for Pytorch.☆413Updated 2 years ago
- PyTorch implementation of batched bi-RNN encoder and attention-decoder.☆279Updated 6 years ago
- A simple module consistently outperforms self-attention and Transformer model on main NMT datasets with SoTA performance.☆86Updated last year
- An LSTM in PyTorch with best practices (weight dropout, forget bias, etc.) built-in. Fully compatible with PyTorch LSTM.☆133Updated 5 years ago
- PyTorch implementations of LSTM Variants (Dropout + Layer Norm)☆136Updated 3 years ago
- Transformer training code for sequential tasks☆611Updated 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
- Efficient Transformers for research, PyTorch and Tensorflow using Locality Sensitive Hashing☆94Updated 5 years ago
- Multi-head attention in PyTorch☆151Updated 6 years ago
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆607Updated 9 months 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
- PyTorch DataLoader for seq2seq☆85Updated 6 years ago
- Using Pytorch's nn.Transformer module to create an english to french neural machine translation model.☆77Updated 4 years ago
- Implements Reformer: The Efficient Transformer in pytorch.☆85Updated 5 years ago
- The Noise Contrastive Estimation for softmax output written in Pytorch☆318Updated 5 years ago
- A Pytorch Implementation of "Attention is All You Need" and "Weighted Transformer Network for Machine Translation"☆555Updated 4 years ago
- Keras implement of ON-LSTM (Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks)☆156Updated 5 years ago
- document classification using LSTM + self attention☆113Updated 5 years ago
- This repository contain various types of attention mechanism like Bahdanau , Soft attention , Additive Attention , Hierarchical Attention…☆125Updated 3 years ago
- Codes for "Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of View"☆148Updated 5 years ago
- Scripts to train a bidirectional LSTM with knowledge distillation from BERT☆158Updated 5 years ago
- pytorch implementation of Attention is all you need☆238Updated 3 years ago