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.
☆357Updated last year
Alternatives and similar repositories for attention-mechanisms
Users that are interested in attention-mechanisms are comparing it to the libraries listed below
Sorting:
- A wrapper layer for stacking layers horizontally☆228Updated 3 years ago
- This repository contain various types of attention mechanism like Bahdanau , Soft attention , Additive Attention , Hierarchical Attention…☆125Updated 3 years ago
- A Keras+TensorFlow Implementation of the Transformer: Attention Is All You Need☆712Updated 3 years ago
- Attention mechanism for processing sequential data that considers the context for each timestamp.☆655Updated 3 years ago
- An example attention network with simple dataset.☆230Updated 6 years ago
- Transformer implemented in Keras☆372Updated 3 years ago
- Minimal RNN classifier with self-attention in Pytorch☆150Updated 3 years ago
- Keras library for building (Universal) Transformers, facilitating BERT and GPT models☆537Updated 4 years ago
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆229Updated 5 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
- Keras Layer implementation of Attention for Sequential models☆441Updated 2 years ago
- attention-based LSTM/Dense implemented by Keras☆299Updated 7 years ago
- 自注意力与文本分类☆119Updated 6 years ago
- Attention-based bidirectional LSTM for Classification Task (ICASSP)☆115Updated 2 years ago
- TensorFlow implementation of focal loss☆189Updated 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
- ☆76Updated 5 years ago
- Implementation of seq2seq with attention in keras☆114Updated 5 years ago
- A pytorch implementation of Fairseq Convolutional Sequence to Sequence Learning(Gehring et al. 2017)☆46Updated 6 years ago
- A bidirectional LSTM with attention for multiclass/multilabel text classification.☆174Updated 8 months ago
- ☆184Updated 7 years ago
- PyTorch implementation of batched bi-RNN encoder and attention-decoder.☆279Updated 6 years ago
- Hierarchical Attention Networks for Document Classification in PyTorch☆604Updated 5 years ago
- Multi heads attention for image classification☆81Updated 7 years ago
- Implementation of Transformer Model in Tensorflow☆468Updated 2 years ago
- A repository containing tutorials for practical NLP using PyTorch☆536Updated 5 years ago
- TensorFlow implementation of 'Attention Is All You Need (2017. 6)'☆348Updated 7 years ago
- Collection of custom layers and utility functions for Keras which are missing in the main framework.☆62Updated 4 years ago
- How to use ELMo embeddings in Keras with Tensorflow Hub☆259Updated 6 years ago
- An Implementation of Encoder-Decoder model with global attention mechanism.☆32Updated 5 years ago