uzaymacar / attention-mechanismsLinks
Implementations for a family of attention mechanisms, suitable for all kinds of natural language processing tasks and compatible with TensorFlow 2.0 and Keras.
☆362Updated 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
- Attention mechanism for processing sequential data that considers the context for each timestamp.☆656Updated 3 years ago
- Keras Layer implementation of Attention for Sequential models☆442Updated 2 years ago
- This repository contain various types of attention mechanism like Bahdanau , Soft attention , Additive Attention , Hierarchical Attention…☆125Updated 4 years ago
- A Keras+TensorFlow Implementation of the Transformer: Attention Is All You Need☆713Updated 4 years ago
- Attention-based bidirectional LSTM for Classification Task (ICASSP)☆116Updated 2 years ago
- Transformer implemented in Keras☆369Updated 3 years ago
- Keras library for building (Universal) Transformers, facilitating BERT and GPT models☆540Updated 5 years ago
- All about attention in neural networks. Soft attention, attention maps, local and global attention and multi-head attention.☆234Updated 5 years ago
- Minimal RNN classifier with self-attention in Pytorch☆151Updated 3 years ago
- attention-based LSTM/Dense implemented by Keras☆300Updated 7 years ago
- Word Embedding + LSTM + FC☆161Updated last year
- TensorFlow implementation of focal loss☆191Updated 4 years ago
- An example attention network with simple dataset.☆229Updated 6 years ago
- ☆76Updated 5 years ago
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆230Updated 6 years ago
- A small and simple tutorial on how to craft a LSTM nn.Module by hand on PyTorch.☆126Updated 5 years ago
- An LSTM in PyTorch with best practices (weight dropout, forget bias, etc.) built-in. Fully compatible with PyTorch LSTM.☆134Updated 5 years ago
- 自注意力与文本分类☆119Updated 6 years ago
- A bidirectional LSTM with attention for multiclass/multilabel text classification.☆173Updated last year
- Layer normalization implemented in Keras☆60Updated 3 years ago
- A pytorch implementation of Fairseq Convolutional Sequence to Sequence Learning(Gehring et al. 2017)☆45Updated 6 years ago
- How to do Unsupervised Clustering with Keras☆240Updated 6 years ago
- Implementation of Transformer Model in Tensorflow☆476Updated 2 years ago
- ☆188Updated 7 years ago
- Implementation of the Transformer architecture described by Vaswani et al. in "Attention Is All You Need"☆28Updated 6 years ago
- Multi-class classification with focal loss for imbalanced datasets☆82Updated 6 years ago
- document classification using LSTM + self attention☆114Updated 5 years ago
- An Attention Layer in Keras☆43Updated 6 years ago
- Text classification based on LSTM on R8 dataset for pytorch implementation☆141Updated 8 years ago