lancopku / SGM

Sequence Generation Model for Multi-label Classification (COLING 2018)
432 stars 113 forks source link

Why reverse the source sequence in the collate_function #34

Open VRCMF opened 2 years ago

VRCMF commented 2 years ago

Hi,

Thank for your coding contribution. I am not sure why you reverse the source sequence in the collate_function. The reference link is : https://github.com/lancopku/SGM/blob/75b2df6279b6edec9efadf1fa54d79f12facbea0/utils/data_helper.py#L87 Very appreciated for your time in advance.