In line 53, word_embedded, pretrain_embedded and lemma_embedded, these three are of different dimensions, so they clearly cannot be concatenated.
embeds = self.tanh(self.embeds2input(torch.cat((word_embedded, pretrain_embedded, lemma_embedded), 1))).view(len(sentence[0]),1,-1)
How to run the prediction, please help.