wang2vec icon indicating copy to clipboard operation
wang2vec copied to clipboard

weightedword2vec

Open wangshaonan opened this issue 8 years ago • 2 comments

Hi Wang, Thanks for sharing the code. I have the following two questions. What can weightedword2vec do ? Is there the implementation of attention based cbow model ?

wangshaonan avatar Feb 29 '16 08:02 wangshaonan

Hi,

So, the weightedword2vec code basically expects each sentence to have a weight (e.g., 0.12) as the first word, which will be multiplied by the gradient of the predictor function (ne, nce or hs).

I haven’t uploaded the code for the attention-based cbow model yet.

Cheers, Wang Ling

On Feb 29, 2016, at 8:55 AM, wang shaonan [email protected] wrote:

Hi Wang, Thanks for sharing the code. I have the following two questions. What can weightedword2vec do ? Is there the implementation of attention based cbow model ?

— Reply to this email directly or view it on GitHub https://github.com/wlin12/wang2vec/issues/3.

wlin12 avatar Feb 29 '16 08:02 wlin12

Got it. Thank you.

wangshaonan avatar Feb 29 '16 09:02 wangshaonan