Closed this issue 9 months ago · 1 comments
Hi, It seems there is something wrong with transformer class. It does not have a forward method! could you please clarify the reason? Tnx
Hi! The forward method is not needed, as we apply the encoder and decoder "by hand":
pytorch-transformer/train.py
Line 234 in 1af7967