fold icon indicating copy to clipboard operation
fold copied to clipboard

How to build child-sum tree using tensorflow fold?

Open valexby opened this issue 6 years ago • 2 comments

How to build child-sum LSTM Tree using tensorflow fold? For now example sentiment analysis receives binary constituency tree. But I want to apply with example to input non-binary dependency based parse trees.

Adding some detaisation to request. Main problem I don't now how to solve is how to modify logits_and_state method to boild tree where every node can have arbitrary number of childs.

Thanks!

valexby avatar Mar 26 '18 12:03 valexby

Same question here. Maybe author/maintainer could help with this, please (@delesley)? It's very important for the prototype i'm doing, so i'm trying to figure out the way of making this.

This is an example we are talking about: https://github.com/tensorflow/fold/blob/master/tensorflow_fold/g3doc/sentiment.ipynb

Thanks in advance!

alexfridlyand avatar Mar 28 '18 07:03 alexfridlyand

Is there a tool for generic block generation in tenosrflow fold? Some block that generate other blocks with respect to its input, and then generator maps his input on generated block. This can be very usefull in Child-Sum problem.

valexby avatar Mar 28 '18 09:03 valexby