Open JuliRao opened 5 years ago
I've read the code in models/copynet.py. I think in the third step 'get weighted attention to use for predicting next word', input_idx(y_t) should be used instead of inputidx(y(t-1)), which is then used to generate y_(t+1).
Have you figured it out? This is also where I get puzzled.
I've read the code in models/copynet.py. I think in the third step 'get weighted attention to use for predicting next word', input_idx(y_t) should be used instead of inputidx(y(t-1)), which is then used to generate y_(t+1).