jojonki / key-value-memory-networks

Key-Value Memory Networks for Directly Reading Documents, Alexander Miller, Adam Fisch, Jesse Dodge, Amir-Hossein Karimi, Antoine Bordes, Jason Weston https://arxiv.org/abs/1606.03126
57 stars 18 forks source link

KB based key value memory network #1

Open ghost opened 6 years ago

ghost commented 6 years ago

hi, I am trying to use kb for question answering. In your code I was able to load key-value pairs from movie KB as follows: kv_pairs = load_kv_pairs(pathname, entities, 100, True) but I couldn't find the implementation of vectorize_kv_pairs(kv_pairs, 10, 30, entities) function. Thank you.

samhavens commented 6 years ago

@batselm in the notebook, about halfway down you see from process_data import vectorize_kv. So I looked in process_data.py and found it on line 190.

Joseph1314 commented 5 years ago

hi,excuse me ,as it shows in the keras-memnn.ipynb, is the final accuracy on validation set about 23%?