News for hackers. Stuff that matters.
Re:Show HN: Word2Bits – Quantized Word Vectors by maxlam on Tuesday March 20, 2018 @03:55AM (#16626679)
The idea is that you can kind of capture the "meaning" of a word with a sequence of numbers (a vector) -- and then you use these vectors for machine learning tasks to do cool stuff like answer questions!

Word2Vec is one of the algorithms to do this. Given a bunch of text (like Wikipedia) it turns words into vectors. These vectors have interesting properties like:

vector("man") - vector("woman") + vector("queen") = vector("king")

and

distance(vector("man"), vector("woman)) < distance(vector("man"), vector("cat"))

What Word2Bits does is make sure that the numbers that represent a word is limited to just 2 values (-.333 and +.333). This reduces the amount of storage the vectors take and surprisingly improves accuracy in some scenarios.

If you're interested in learning more, check out http://colah.github.io/posts/2014-07-NLP-RNNs-Representation... which has a lot more details about representations in deep learning!

Re:Show HN: Word2Bits – Quantized Word Vectors by Sukotto on Tuesday March 20, 2018 @04:40AM (#16626856)
Thank you. That really helped.