There is a typo in this page: nlp-tutorial 1
This line: “Matrices and vectors are special cases of  torch.Tensors, where their dimension is 1 and 2 respectively.”   should be changed to:
"Matrices and vectors are special cases of torch.Tensors, where their dimensions are 2 and 1 respectively. "