plasticityai / magnitude

A fast, efficient universal vector embedding utility package.
MIT License
1.62k stars 119 forks source link

Most similar function not working #65

Open joanPlepi opened 4 years ago

joanPlepi commented 4 years ago

` data_path = 'data/' w2v_file = 'GoogleNews-vectors-negative300.magnitude' w2v_vectors = Magnitude(f'{data_path}{w2v_file}')

print(w2v_vectors.most_similar('cat', topn=10))

`

I recently found out about magnitude and was giving it a try. I tried to check the most_similar method, and it is not given an output for several minutes. Is it supposed to take that long?

ghost commented 4 years ago

My magnitude is not given an output for several minutes too!