indiejoseph / doc-han-att

Hierarchical Attention Networks for Chinese Sentiment Classification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hierarchical Attention Networks for Chinese Sentiment Classification

This is HAN version of sentiment classification, with pre-trained character-level embedding, and used RAN instead of GRU.

Dataset

Downloaded from internet but i forget where is it ;p, the original dataset is in Simplified Chinese, i used opencc translated it into Traditional Chinese. After 100 epochs, the valid accuracy achieved 96.31%

Requirement

Tensorflow r1.1+

Attention Heatmap

attention heatmap

About

Hierarchical Attention Networks for Chinese Sentiment Classification


Languages

Language:Jupyter Notebook 76.6%Language:Python 23.4%