pointer-generator icon indicating copy to clipboard operation
pointer-generator copied to clipboard

length of enc_batch and dec_batch for axis=1

Open jiangix01 opened this issue 8 years ago • 2 comments

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.

jiangix01 avatar Oct 30 '17 09:10 jiangix01

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".

abisee avatar Oct 30 '17 18:10 abisee

Yeah, Thank for your reply.

jiangix01 avatar Nov 03 '17 02:11 jiangix01