uzaymacar / attention-mechanisms
Implementations for a family of attention mechanisms, suitable for all kinds of natural language processing tasks and compatible with TensorFlow 2.0 and Keras.
☆353Updated last year
Alternatives and similar repositories for attention-mechanisms:
Users that are interested in attention-mechanisms are comparing it to the libraries listed below
- A wrapper layer for stacking layers horizontally☆228Updated 3 years ago
- Keras Layer implementation of Attention for Sequential models☆444Updated last year
- Attention mechanism for processing sequential data that considers the context for each timestamp.☆658Updated 3 years ago
- A Keras+TensorFlow Implementation of the Transformer: Attention Is All You Need☆713Updated 3 years ago
- All about attention in neural networks. Soft attention, attention maps, local and global attention and multi-head attention.☆231Updated 5 years ago
- This repository contain various types of attention mechanism like Bahdanau , Soft attention , Additive Attention , Hierarchical Attention…☆124Updated 3 years ago
- Attention-based bidirectional LSTM for Classification Task (ICASSP)☆113Updated 2 years ago
- Keras library for building (Universal) Transformers, facilitating BERT and GPT models☆536Updated 4 years ago
- Transformer implemented in Keras☆372Updated 3 years ago
- A bidirectional LSTM with attention for multiclass/multilabel text classification.☆172Updated 5 months ago
- An example attention network with simple dataset.☆230Updated 5 years ago
- attention-based LSTM/Dense implemented by Keras☆297Updated 6 years ago
- 自注意力与文本分类☆119Updated 6 years ago
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆227Updated 5 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
- document classification using LSTM + self attention☆113Updated 5 years ago
- Implementation of State-of-the-art Text Classification Models in Pytorch☆488Updated 6 years ago
- Minimal RNN classifier with self-attention in Pytorch☆150Updated 3 years ago
- Word Embedding + LSTM + FC☆161Updated 6 months ago
- ☆76Updated 4 years ago
- Hierarchical Attention Networks for Document Classification in PyTorch☆605Updated 4 years ago
- A pytorch implementation of Fairseq Convolutional Sequence to Sequence Learning(Gehring et al. 2017)☆44Updated 6 years ago
- An Implementation of Encoder-Decoder model with global attention mechanism.☆32Updated 5 years ago
- Implementation of Transformer Model in Tensorflow☆466Updated last year
- Implementation of papers for text classification task on DBpedia☆737Updated 4 years ago
- Source code for "On the Relationship between Self-Attention and Convolutional Layers"☆1,096Updated 2 years ago
- Keras/TF implementation of AdamW, SGDW, NadamW, Warm Restarts, and Learning Rate multipliers☆167Updated 3 years ago
- TensorFlow implementation of focal loss☆186Updated 3 years ago
- Text classification using different neural networks (CNN, LSTM, Bi-LSTM, C-LSTM).☆202Updated 6 years ago
- An Attention Layer in Keras☆43Updated 5 years ago