pointer-generator
pointer-generator copied to clipboard
length of enc_batch and dec_batch for axis=1
Hi, Sorry for bothering you. In enc_batch[hps.batch_size, None], the length of axis=1 is the max number of article words of each example. In dec_batch[hps.batch_size, None], the length of axis=1 is the max_decoder_steps. Can I replace it for the max number of abstract words of each example. And is there any difference between them. Thanks a lot.
Not sure I understand the question. max_dec_steps refers to the maximum number of steps we will run the decoder RNN. This is the same thing as "max number of abstract words of each example".
Yeah, Thank for your reply.