Remper / bk2vec

Injecting background knowledge into the word vectors
0 stars 0 forks source link

Introduce the full category tree #5

Closed Remper closed 8 years ago

Remper commented 8 years ago

Instead of having the flat category structure, we can actually embed the full tree in the same way by introducing fake supercategories and attracting category vectors below to each other

Remper commented 8 years ago

The only problem is to represent trees and recursive operations in Tensorflow

Remper commented 8 years ago

First thing to try: https://www.tensorflow.org/versions/r0.8/api_docs/python/script_ops.html#py_func

ziorufus commented 8 years ago

Nice finding!