facebookresearch / MUSE

A library for Multilingual Unsupervised or Supervised word Embeddings
Other
3.18k stars 544 forks source link

Confusion regarding src_emb and tgt_emb in the source code. #129

Open euler16 opened 5 years ago

euler16 commented 5 years ago

I have a doubt regarding the above in the unsupervised setting. In src/trainer.py, on line number 77 and 78 , the labels assigned to the mapped vectors and real target vectors are 0.9 and 0.1 respectively (assuming discriminator smoothing has the default value of 0.1). Shouldn't that be opposite (as the discriminator should learn to label mapped vectors as fake (=0) and the target vectors as true (= 1)).