facebookresearch / MUSE

A library for Multilingual Unsupervised or Supervised word Embeddings
Other
3.19k stars 553 forks source link

How to get bilingual dictionary? #103

Closed liujia1129 closed 5 years ago

liujia1129 commented 5 years ago

Hi all, I'm trying to use MUSE to create an en-zh dictionary, but after finishing the training process(I think it finished, because I saw no more files generated and no more information in train.log file), it only give me these files:

  1. two vector files: vectors-en.txt, vectors-zh.txt 2.best-mapping.pth 3.train.log 4.params.pkl I wonder whether I could get the bilingual dictionary automatically after training finished? if not, how can I get the dictionary and how can I know the training is completed? looking forward to your reply. Thanks~
iamgroot42 commented 5 years ago

Any answers on this would be great. We could use extend the demo.ipynb notebook to assign word mappings in a greedy fashion, but that will be obviously sub-optimal, and won't scale with the dictionary size. Is there any other way around it?

liujia1129 commented 5 years ago

Thank u~