Re: [Moses-support] How can I change LM binarization in EMS without re-tuning?

2015-05-20 Thread Lane Schwartz
Thanks, Philipp. That worked. Also, for what it's worth, on this data set, doing KenLM trie quantization with -q 8 -b did not reduce the BLEU score at all. On Wed, May 20, 2015 at 7:38 PM, Philipp Koehn wrote: > Hi, > > here is the difference: > > weight-config points to a file and just uses it

Re: [Moses-support] How can I change LM binarization in EMS without re-tuning?

2015-05-20 Thread Philipp Koehn
Hi, here is the difference: weight-config points to a file and just uses its weights (ignoring all the other values) config-with-reused-weights has to have all the correct pointers to model files etc. So, -> if you want to have a EMS config file that runs the binarization and then uses the old w

Re: [Moses-support] How can I change LM binarization in EMS without re-tuning?

2015-05-20 Thread Matthias Huck
Oh, are there two ways of doing this? I use config-with-reused-weights rather than weight-config. On Wed, 2015-05-20 at 15:11 -0400, Philipp Koehn wrote: > Hi, > > you can point to the previous configuration file with the old weights: > > [TUNING] > > ### instead of tuning with this setting,

Re: [Moses-support] How can I change LM binarization in EMS without re-tuning?

2015-05-20 Thread Lane Schwartz
What's the difference between what Philipp is suggesting (weight-config = ...) and what Matthias is suggesting (config-with-reused-weights = ...) ? On Wed, May 20, 2015 at 2:14 PM, Matthias Huck wrote: > Hi Lane, > > Just do the LM binarization manually, edit the LM feature line in your > tuned

Re: [Moses-support] How can I change LM binarization in EMS without re-tuning?

2015-05-20 Thread Matthias Huck
Hi Lane, Just do the LM binarization manually, edit the LM feature line in your tuned moses.ini to point to your new binary LM, and tell the EMS where to look for the tuned moses.ini: [TUNING] config-with-reused-weights = $working-dir/tuning/moses.tuned.ini.10 It won't run tuning if you set co

Re: [Moses-support] How can I change LM binarization in EMS without re-tuning?

2015-05-20 Thread Philipp Koehn
Hi, you can point to the previous configuration file with the old weights: [TUNING] ### instead of tuning with this setting, old weights may be recycled # specify here an old configuration file with matching weights # weight-config = $toy-data/weight.ini -phi On Wed, May 20, 2015 at 3:01 PM, L

[Moses-support] How can I change LM binarization in EMS without re-tuning?

2015-05-20 Thread Lane Schwartz
I've got a system that I trained using EMS. I'd like to change the binarization of my LM (for example, the original used KenLM probing, and now I want KenLM trie with quantization). If I simply change the lm-binarizer line in my config, EMS assumes that it should re-run tuning. Is there a way that