facebookresearch / MUSE

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

supervised.py takes too long: "Writing source embeddings..." #133

Closed simlaharma closed 5 years ago

simlaharma commented 5 years ago

I run the supervised.py as instructed on READ.me and it kinda stuck on "INFO - 07/05/19 08:45:06 - 0:08:49 - Writing source embeddings to /home/user/MUSE/dumped/debug/ev7kerqx4p/vectors-en.txt ..." How long should it take? It takes 1.5 hours to write one language file...

simlaharma commented 5 years ago

It was because of exporting to .txt file. I added --export pth option and it took 2 seconds.