https://pytorch.org/docs/master/nn.html#torch.nn.Transformer 34
I don’t understand what d_model is? What if the vocab for input and target are different sizes? How do you use torch.nn.Transformer if you want to translate a sentence with a vocab size 10 to something with vocab size 8?