I asked this in another thread but realise it probably warrants it’s own.

Already answered in the other thread:

  
    
    
    What is nn.embedding exactly doing? nlp
  
  
    It is just a look up table from indices to vectors. You can manually initialize them however you want, e.g. to work2vec weights.
  


It was way simpler than I expected.