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.
☆359Updated 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.☆655Updated 3 years ago
- Keras Layer implementation of Attention for Sequential models☆441Updated 2 years ago
- This repository contain various types of attention mechanism like Bahdanau , Soft attention , Additive Attention , Hierarchical Attention…☆126Updated 3 years ago
- A Keras+TensorFlow Implementation of the Transformer: Attention Is All You Need☆712Updated 3 years ago
- Keras library for building (Universal) Transformers, facilitating BERT and GPT models☆537Updated 5 years ago
- Transformer implemented in Keras☆371Updated 3 years ago
- attention-based LSTM/Dense implemented by Keras☆299Updated 7 years ago
- Attention-based bidirectional LSTM for Classification Task (ICASSP)☆115Updated 2 years ago
- 自注意力与文本分类☆119Updated 6 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
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆230Updated 5 years ago
- Minimal RNN classifier with self-attention in Pytorch☆150Updated 3 years ago
- A PyTorch implementation of the TCAN model in "Temporal Convolutional Attention-based Network For Sequence Modeling".☆141Updated 2 years ago
- All about attention in neural networks. Soft attention, attention maps, local and global attention and multi-head attention.☆231Updated 5 years ago
- An example attention network with simple dataset.☆230Updated 6 years ago
- TensorFlow implementation of focal loss☆189Updated 4 years ago
- transformer in tensorflow 2.0☆64Updated 4 years ago
- A pytorch implementation of Fairseq Convolutional Sequence to Sequence Learning(Gehring et al. 2017)☆46Updated 6 years ago
- ☆76Updated 5 years ago
- Layer normalization implemented in Keras☆60Updated 3 years ago
- document classification using LSTM + self attention☆112Updated 5 years ago
- lookahead optimizer for keras☆170Updated 5 years ago
- A Dual-Stage Attention-Based Recurrent Neural Network for Time Series Prediction☆111Updated 11 months ago
- ☆184Updated 7 years ago
- A bidirectional LSTM with attention for multiclass/multilabel text classification.☆173Updated 9 months ago
- LSTM Classification using Pytorch☆76Updated 6 years ago
- Character based Temporal Convolutional Networks + Attention Layer☆168Updated 7 years ago
- [ICLR'19] Trellis Networks for Sequence Modeling☆472Updated 5 years ago
- Scripts to train a bidirectional LSTM with knowledge distillation from BERT☆158Updated 5 years ago