您的位置:首页 > 理论基础 > 计算机网络

Tensorflow 基于分层注意网络的文件分类器

2017-09-20 21:21 274 查看
After the exercise of building convolutional, RNN, sentence level attention RNN, finally I have come to implement Hierarchical Attention Networks for Document Classification. I’m very thankful to Keras, which make building this project painless. The custom layer is very powerful and flexible to build your custom logic to embed into the existing frame work. Functional API makes the Hierarchical InputLayers very easy to implement.

Please note that all exercises are based on Kaggle’s IMDB dataset.

文件分类的分层注意网络

在构建卷积运算后,RNN,句级关注的 RNN,最后我来实现文档分类的分层注意网络。 我非常感谢Keras,这使得这个项目无痛。 自定义层是非常强大和灵活的,以构建您的自定义逻辑嵌入到现有的框架工作。 功能API使层次输入层很容易实现。

论文:https://www.cs.cmu.edu/~diyiy/docs/naacl16.pdf

项目:https://github.com/richliao/textClassifier

项目:https://github.com/ilivans/tf-rnn-attention

更多 Tensorflow 教程:http://www.tensorflownews.com
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐