maxoodf / word2vec

word2vec++ is a Distributed Representations of Words (word2vec) library and tools implementation, written in C++11 from the scratch
Apache License 2.0
131 stars 24 forks source link

w2c_accuracy failure #3

Closed PatrickMalolepszy closed 6 years ago

PatrickMalolepszy commented 6 years ago

Using model trained from w2v_trainer.

time ./w2v_accuracy model.w2v ../../../word2vec/questions-phrases.txt 
 newspapers
 ice_hockey
 basketball
 airlines
section accuracy: 0.124119
 people-companies
terminate called after throwing an instance of 'std::ios_base::failure'
  what():  basic_ios::clear
Aborted
maxoodf commented 6 years ago

Hi Patrick, It looks like you are using "questions-phrases.txt" from the original word2vec code, but its format is incompatible with w2v_accuracy. Try to use "questions-words.txt" instead of "questions-phrases.txt. Max.