Skip to content

Simpler version of code for Learning to compose task specific tree structures

Notifications You must be signed in to change notification settings

ramkishore07s/Unsupervised-BinaryTree-LSTM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Unsupervised-Tree-LSTM

Part of the code was adopted from jihunchoi/unsupervised-treelstm.

The tree is constructed in a iterative manner. In each iteration, all possible parent nodes are composed, and then one of them is chosen greedily based on some scoring metric. So the number of nodes is reduces by one in every iteration. Finally we will be left with just one node, the root of the tree.

jihunchoi/unsupervised-treelstm has many features (like intra-attention) in building the tree but does not provide different options for choosing the scoring metric. This code provides an interface for that.

About

Simpler version of code for Learning to compose task specific tree structures

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages