Tensorflow(0.10.0) implementation of 'Bi-directional NarytreeLSTM'.
Download Standford Sentiment Treebank data, preprocess, and set data path './project_data/sst/'
python tf_sentimentmain.py
epoch 0
avg loss 15.6715t example 6919 of 6920
dev-scoer 0.841743119266
time per epochis 479.233663082
epoch 1
avg loss 9.89021 example 6919 of 6920
dev-scoer 0.850917431193
time per epochis 958.180022955
......
https://github.com/sapruash/RecursiveNN
Tai K S, Socher R, Manning C D. Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks[J]. Computer Science, 2015, 5(1):: 36.
Teng Z, Zhang Y. Bidirectional Tree-Structured LSTM with Head Lexicalization[J]. 2016.