cestwc / word2vec-gensim-wiki-english

Train your own word2vec embeddings using a wiki english dataset
MIT License
0 stars 0 forks source link

Error in running posted sample code. #1

Open raymondj-pace opened 4 weeks ago

raymondj-pace commented 4 weeks ago
dataset = IterableWrapper(wiki)
model = Word2Vec(dataset, size=128, window=15, iter=50, sg=1, min_count=150)

TypeError: Word2Vec.init() got an unexpected keyword argument 'size'

cestwc commented 3 weeks ago

Hi, thanks for raising this issue! Here’s a brief response: it seems that this repository mainly acts as a wrapper around Gensim, and the error you’re encountering is likely due to a recent change in the Gensim API. If you come across any other suggested modifications to the code, feel free to let me know—pull requests are warmly welcomed!