Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- model = Doc2Vec(min_count=1, window=10, size=100, sample=1e-4, negative=5, workers=1)
- model.build_vocab(sentences.to_array()) // sentences.to_array() gives an array of LabeledSentence type objects
- for epoch in range(10):
- model.train(sentences.sentences_perm()) // Gives Segmentation Fault!!!!!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement