← 开源

Tensorflow implementation of attention mechanism for text classification tasks.

Model DevelopmentArchitecturePython
增长势头
+024 小时新增 Star0.0%
743
Star
287
Fork
+-1
本周
3
贡献者
创建于 2017-02-27 · 更新于 2026-12-02 · 今日第 18207 名
主要开发者
ilivansnicolay-rHudsonHuang
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)
  • tqdm

To 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

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载