Gensim: Is there any way to update word2vec model ?

Created on 25 Jun 2015  路  2Comments  路  Source: RaRe-Technologies/gensim

Hi, It is not an issue but query .

We want to make word2vec model generation incremental. Currently, it takes ~10 hrs to build a model. Everyday new data comes and we don't want to build new model from scratch ... instead want to update it with new data.

Is it possible in gensim ??

Most helpful comment

Yes. You can use the train method to continue training.

This limits vocabulary to what you initially passed to build_vocab though. If your vocabulary is static (known beforehand), this is not a problem. If you need to be adding new words dynamically as well though, check out @rutum's pull request #365 .

All 2 comments

Yes. You can use the train method to continue training.

This limits vocabulary to what you initially passed to build_vocab though. If your vocabulary is static (known beforehand), this is not a problem. If you need to be adding new words dynamically as well though, check out @rutum's pull request #365 .

That was quick ... thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeradf picture jeradf  路  4Comments

shubhvachher picture shubhvachher  路  4Comments

vlad17 picture vlad17  路  4Comments

sairampillai picture sairampillai  路  3Comments

coopwilliams picture coopwilliams  路  3Comments