Demo entry 6758410

skip gram word2vec


Submitted by anonymous on Aug 13, 2018 at 18:28
Language: Python 3. Code size: 227 Bytes.

model_ug_sgr = Word2Vec(sg=1, size=200, min_count=10)
model_ug_sgr.build_vocab([x.words for x in tqdm(all_x_w2v)])
model_ug_sgr.train(utils.shuffle([x.words for x in tqdm(all_x_w2v)]), total_examples=len(all_x_w2v), epochs=1)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).