Hi Rob

I haven't used confusion network input but I do know about the 
implementation of the input weights (it's added as an extra weight to 
the weight table).

If you can't figure out how to fix it, please send me a small sample 
model to replicate the problem and I'll take a look at it.

On 02/04/2013 20:42, Rob Voigt wrote:
> Hi all,
>
> I'm trying to use confusion networks with Moses - I can decode with them 
> successfully, manually inputting an insertion weight (-weight-i), but am 
> running into trouble doing MERT on a model that uses confusion networks.
>
> Running this command, with weight-i specified in the moses.ini file:
> nohup nice ~/mosesdecoder/scripts/training/mert-moses.pl tune.zh tune.en 
> ~/mosesdecoder/bin/moses moses.ini --decoder-flags="-threads 8 -inputtype 1 
> -drop-unknown" --inputtype 1 --mertdir ~/mosesdecoder/bin/ >& CN_mert.out
>
> I get through one iteration of training, but then get the following error 
> during decoding on the second iteration of MERT:
> ERROR:You specified 6 input weights (weight-i), but you specified 1 link 
> parameters (link-param-count)!
>
> Looking at the run1.moses.ini file, it looks like five additional weight-i 
> values have been added.
>
> Things I've tried to fix this include:
>
> - Specifying 6 link parameters as a decoder flag to match - this dies on the 
> first iteration of MERT with this error:
> ERROR:You specified 1 input weights (weight-i), but you specified 6 link 
> parameters (link-param-count)!
>
> - Putting 6 weight-i parameters in the ini file and specifying 6 link 
> parameters as a decoder flag - this dies on the second iteration, with this 
> error:
> ERROR:You specified 11 input weights (weight-i), but you specified 6 link 
> parameters (link-param-count)!
>
> So it seems like the script is inserting 5 additional weight-i parameters 
> after the first iteration, that make it out of sync with the link-param-count.
>
> How does one use MERT if the input is a confusion network? Is it possible?
>
> Thanks very much for your time!
>
> -Rob
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to