Closed 997261095 closed 4 years ago
this step variable is coming from here (the di variable) https://github.com/atulkum/pointer_summarizer/blob/a41b69ba4f7eb6ffdeaf99a35bf9c6607ca5db56/training_ptr_gen/train.py#L90
This is done so that coverage should be initialize in the the very first iteration. You can think of it as uniform coverage distribution at the start of decoding. (as per my understanding)
What is the reason for this?
https://github.com/atulkum/pointer_summarizer/blob/a41b69ba4f7eb6ffdeaf99a35bf9c6607ca5db56/training_ptr_gen/model.py#L152