Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilivans/tf-rnn-attention
Tensorflow implementation of attention mechanism for text classification tasks.
https://github.com/ilivans/tf-rnn-attention
attention rnn sentiment-analysis tensorflow text-classification
Last synced: 3 months ago
JSON representation
Tensorflow implementation of attention mechanism for text classification tasks.
- Host: GitHub
- URL: https://github.com/ilivans/tf-rnn-attention
- Owner: ilivans
- License: mit
- Created: 2017-02-27T11:18:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-20T20:09:12.000Z (almost 5 years ago)
- Last Synced: 2024-06-16T00:37:40.279Z (5 months ago)
- Topics: attention, rnn, sentiment-analysis, tensorflow, text-classification
- Language: Python
- Size: 1.93 MB
- Stars: 745
- Watchers: 31
- Forks: 291
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- StarryDivineSky - ilivans/tf-rnn-attention
README
Tensorflow implementation of attention mechanism for text classification tasks.
Inspired by "Hierarchical Attention Networks for Document Classification", Zichao Yang et al. (http://www.aclweb.org/anthology/N16-1174).### Requirements
- Python >= 2.6
- Tensorflow >= 1.0
- Keras (IMDB dataset)
- tqdmTo view visualization example visit http://htmlpreview.github.io/?https://github.com/ilivans/tf-rnn-attention/blob/master/visualization.html
My bachelor's thesis on sentiment classification of Russian texts using Bi-RNN with attention mechanism: https://github.com/ilivans/attention-sentiment