monk1337 / Various-Attention-mechanisms
This repository contain various types of attention mechanism like Bahdanau , Soft attention , Additive Attention , Hierarchical Attention etc in Pytorch, Tensorflow, Keras
☆125Updated 3 years ago
Alternatives and similar repositories for Various-Attention-mechanisms:
Users that are interested in Various-Attention-mechanisms are comparing it to the libraries listed below
- document classification using LSTM + self attention☆113Updated 5 years ago
- Hierarchical Attention Networks for Document Classification in PyTorch☆36Updated 6 years ago
- Implementation of the Transformer architecture described by Vaswani et al. in "Attention Is All You Need"☆28Updated 6 years ago
- A pytorch implementation of Fairseq Convolutional Sequence to Sequence Learning(Gehring et al. 2017)☆45Updated 6 years ago
- Word Embedding + LSTM + FC☆161Updated 8 months ago
- Semi Supervised Learning for Text-Classification☆83Updated 5 years ago
- pytorch neural network attention mechanism☆147Updated 6 years ago
- Minimal RNN classifier with self-attention in Pytorch☆150Updated 3 years ago
- TensorFlow implementation of the paper `Adversarial Multi-task Learning for Text Classification`☆177Updated 6 years ago
- Implementations for a family of attention mechanisms, suitable for all kinds of natural language processing tasks and compatible with Ten…☆357Updated last year
- Keras implement of ON-LSTM (Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks)☆156Updated 5 years ago
- Text classification based on LSTM on R8 dataset for pytorch implementation☆140Updated 7 years ago
- PyTorch implementation of batched bi-RNN encoder and attention-decoder.☆279Updated 6 years ago
- Conditional Sequence Generative Adversarial Network trained with policy gradient, Implementation in Tensorflow☆49Updated 6 years ago
- NLSTM Nested LSTM in Pytorch☆18Updated 7 years ago
- Tensorflow Implementation of Densely Connected Bidirectional LSTM with Applications to Sentence Classification☆47Updated 7 years ago
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆228Updated 5 years ago
- Multi heads attention for image classification☆81Updated 7 years ago
- Tensorflow Implementation of Variational Attention for Sequence to Sequence Models (COLING 2018)☆70Updated 4 years ago
- A bidirectional LSTM with attention for multiclass/multilabel text classification.☆173Updated 7 months ago
- Simple implement dilated LSTM, residual LSTM and Attention LSTM (follow the corresponding papers).☆17Updated 5 years ago
- A quick walk-through of the innards of LSTMs and a naive implementation of the Mogrifier LSTM paper in PyTorch☆76Updated 4 years ago
- 利用keras搭建的胶囊网络(capsule network文本分类模型,包含RNN、CNN、HAN等,其中keras_utils包含了capsule层和attention层的keras实现☆77Updated 6 years ago
- SRU implement in pytorch(Training RNNs as Fast as CNNs)☆46Updated 2 years ago
- ☆76Updated 5 years ago
- TensorFlow implementation of the paper "Hierarchical Attention Networks for Document Classification"☆87Updated 5 years ago
- Keras implementation of “Gated Linear Unit ”☆23Updated last year
- pytorch implementation of Attention is all you need☆238Updated 3 years ago
- ☆38Updated 7 years ago
- An example attention network with simple dataset.☆230Updated 6 years ago