Yes that was my fault i didnt see u pass good hidden state and that was pure input fault.
Try change emmbedded in forward function before lstm to 3d maybe something like this -> self.embeddings(x).view(1, 1, -1)
This will be a lot easier if you send full error message with code lines