Hi, I am new to pytorch.  I am trying to implement a text summarization model. As an input feature, I would like to concatenate one hot vector with word embeddings. For example, my dataset is like this
0    Mr. Clinton is teaching Algebra to the students.
1   Monkeys are playing around in the garden.
I want to concatenate words in the sentence with their hot vectors as an input to nn.embedding module
’Mr’ + [1,0,0,0],  ‘Clinton’ + [1,0,0,0]…
’Monkeys’ + [0,1,0,0], ‘are’ + [0,1,0,0]…
How can I achieve this?
Any suggestion would be helpful. Thanks in advance