Modify the running scripts.
This commit is contained in:
Родитель
77647ed196
Коммит
4a79d12f28
|
@ -24,9 +24,9 @@ Open windows\distributed_skipgram_mixture\distributed_skipgram_mixture.sln using
|
||||||
|
|
||||||
Download and build by running ```$ sh build.sh```. Modify the include and lib path in Makefile. Then run ```$ make all -j4```.
|
Download and build by running ```$ sh build.sh```. Modify the include and lib path in Makefile. Then run ```$ make all -j4```.
|
||||||
|
|
||||||
HyperParameter Settings
|
Run
|
||||||
----------
|
----------
|
||||||
See ```scripts/parameters_settings.txt``` and ```scripts/run.py```.
|
For parameter settings, see ```scripts/parameters_settings.txt```. For running it, see the example script ```scripts/run.py```.
|
||||||
|
|
||||||
Reference
|
Reference
|
||||||
----------
|
----------
|
||||||
|
|
|
@ -23,7 +23,11 @@ machinefile= 'Your host file for MPI'
|
||||||
#Parameter w.r.t. SG-Mixture Training
|
#Parameter w.r.t. SG-Mixture Training
|
||||||
size = 50
|
size = 50
|
||||||
train = 'Your Training File'
|
train = 'Your Training File'
|
||||||
read_vocab = 'Your Vocab File'
|
'''
|
||||||
|
Please visit http://ms-dmtk.azurewebsites.net/word2vec_multi.html#p5 for wiki2014 and clueweb.
|
||||||
|
In running multi machine version, please separate the file and distribute the subfiles into different machines.
|
||||||
|
'''
|
||||||
|
read_vocab = 'Your Vocab File' #each line of the file stores 'Word\tCount' info.
|
||||||
binary = 2
|
binary = 2
|
||||||
init_learning_rate = 0.025
|
init_learning_rate = 0.025
|
||||||
epoch = 1
|
epoch = 1
|
||||||
|
|
Загрузка…
Ссылка в новой задаче