Skip to content

Instantly share code, notes, and snippets.

@lgallen
Last active September 18, 2019 16:18
Show Gist options
  • Save lgallen/8c2404bf6227c772faef40e423aa5007 to your computer and use it in GitHub Desktop.
Save lgallen/8c2404bf6227c772faef40e423aa5007 to your computer and use it in GitHub Desktop.
Helpful hyper-parameters for training doc2vec
#doc2vec parameters
vector_size = 300
window_size = 15
min_count = 1
sampling_threshold = 1e-5
negative_size = 5
train_epoch = 100
dm = 0 #0 = dbow; 1 = dmpv
worker_count = 1 #number of parallel processes
@lgallen
Copy link
Author

lgallen commented Jul 18, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment