attardi / deepnl

Deep Learning for Natural Language Processing
GNU General Public License v3.0
458 stars 116 forks source link

dl-sentiwords.py error running word2vec variant #60

Open leila-iust opened 6 years ago

leila-iust commented 6 years ago

when i run dl-sentiwords with word2vec variant: dl-sentiwords.py training.tsv --vectors vectors.txt --variant wod2vec and i got this error: dl-sentiwords.py: error: argument --vocab is required please help what is vocab file?

ClemSc commented 6 years ago

Hello, same problem here. The doc specify that --vocab should not be required when --variant is word2vec. Can you give me a hint on the correct format ? Should vocab be a list of words and --vectors the corresponding list of vector ? I am embedding annoted tweet. Is it a correct approach to build the prior embedded vectors from a corpus of unannotated tweets and use that as --vocab and --vectors ? Thanks

ClemSc commented 6 years ago

Solved by providing empty vocab and vectors files.

crazystone1 commented 4 years ago

Hi, guys! My computer installed python 3.7. It is difficult for me to run this code after hard work. If you solved all the problems, could you give me some suggestions?

1eclipse commented 4 years ago

Hello, how do l use eigen! just download? thank you!