word2vec icon indicating copy to clipboard operation
word2vec copied to clipboard

Plain text word vectors

Open barapa opened this issue 12 years ago • 3 comments

Do you know how to extract plain text versions of the learned word vectors that could be using in other applications?

barapa avatar Aug 18 '13 15:08 barapa

I haven't sat down to work out that binary format they're using yet, but I aim to (if for no other reason to figure out why the compute-accuracy utility is segfaulting when reading it). If I'm lucky I'll get some time later today to work on that but realistically I'm pretty busy and it could take a week or more to make the time.

dav avatar Aug 18 '13 15:08 dav

It's actually just an argument to the word2vec program. The demo scripts set binary to 1, but setting it to 0 will output raw text vectors.

barapa avatar Aug 18 '13 20:08 barapa

Ah, nice. Thanks!

dav avatar Aug 18 '13 23:08 dav