Example of a vanilla nn.Transformer usage

Hi There,

I cannot find some tutorial of the Transformer as it is implemeneted in pytorch 1.2.

I found this one but it looks like it’s some fancy stuff that uses only some part (encoder) and not the plain transformer.

Something like an example for beginners exist on how to use this ?

thanks for the amazing feature,