Open jivatneet opened 3 years ago
You can set use_lstm=True to handle this issue.
Thanks for the reply @v-chuqin, but I wanted to use the transformer-based encoder and hence set use_lstm=False. With use_lstm=True, it is working fine.
How did you solve that? I want to use transformers and I got the same error
I was successfully able to run the LSTM based pointer generator. While running the transformer_encoder branch with LSTM=false, I encounter this error:
Any help regarding this would be appreciated, thanks.